It would be wicked to have a jQuery UI Dialog Popup API skin. Would depend on the jQuery UI module.

Postponed for #372378: Popups Skins - Facebook looking popups.

Comments

starbow’s picture

Hi Rob,
I would love to see this. #372378: Popups Skins - Facebook looking popups is definitely going in to the next version, and it would be cool to have a bunch of skins to show off.

starbow’s picture

Status: Postponed » Active

Bring it on :)

robloach’s picture

jQuery UI Tabs popup wouldn't work with the new template system for the Popups API because we'd need to call some PHP code when the popups are added to include to required jQuery UI libraries. Well, I guess it could get the jQuery UI path to the .js files in the 'js' parameter, but I think it would be a bit handier if there were ($op, $skin) parameters in hook_popup_skins()......

function hook_popup_skins($op, $skin = NULL) {
  switch ($op) {
    case 'info':
      return array(
        'jQuery UI Tabs' => array(
          
        )
      );
    case 'add':
       if ($skin == 'jQuery UI Tabs') {
          jquery_ui_add(array('core', 'tabs'));
       }
       break;
  }
}
tayzlor’s picture

+1 for this.
i'd like to see jquery UI dialogs for popups, utilising jquery themeroller skins, are we any closer on this front?