You are here

function _popups_default_content_selector in Popups API (Ajax Dialogs) 6

Same name and namespace in other branches
  1. 6.2 popups.module \_popups_default_content_selector()

Returns the default jQuery content selector as a string. Currently uses the selector for Garland. Sometime in the future I will change this to '#content' or '#content-content'.

2 calls to _popups_default_content_selector()
popups_add_popups in ./popups.module
Attach the popup behavior to the page.
popups_form_alter in ./popups.module
Implementation of hook_form_alter().

File

./popups.module, line 255
This module provides a hook_popups for links to be openned in an Ajax Popup Dialog.

Code

function _popups_default_content_selector() {
  return 'div.left-corner > div.clear-block:last';

  // Garland in Drupal 6.
}