UI isn't included. You need to load it manually.
function cmd_jquery_ui_demo(){
CmdUtils.loadJQuery(function($){
CmdUtils.injectJavascript(
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js",
function(){
$('div').draggable().css('outline', 'solid 2px #cfc');
});
});
}
On Mon, Aug 17, 2009 at 2:15 PM, canadaduane<[email protected]> wrote:
> I'd like to load jquery-ui into the page as well as jquery for a
> particular app I'm writing. I tried to follow the lead of
> CmdUtils.loadJQuery (Ubiquity 0.1.9) but the resulting jQuery object
> didn't seem to be augmented with the UI features (e.g. I couldn't call
> $('#my-id').slider()).
>
> Any tips for getting this going?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---