Posted by Rob Loach on February 13, 2009 at 3:05am
Jump to:
| Project: | Popups API (Ajax Dialogs) |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
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.
#2
Bring it on :)
#3
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()......
<?php
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;
}
}
?>
#4
+1 for this.
i'd like to see jquery UI dialogs for popups, utilising jquery themeroller skins, are we any closer on this front?