hi!

i'd appreciate just a little advice, if someone has an idea:

i've embedded jquery in a firefox extension, by including it in the
overlay.xul file, and then initing it in my overlay.js file:

$ = function(selector,context){ return new jQuery.fn.init
(selector,context||example.doc); };
$.fn = $.prototype = jQuery.fn;

method described here: 
http://stackoverflow.com/questions/491490/how-to-use-jquery-in-firefox-extension

this works great!

i'm working, now, on making jquery ui available to the extension.  one
failed attempt involued including the jqueryui file from the
overlay.xul file, and then modifying the above code to read:

$ = function(selector,context){ return new jQuery.fn.init
(selector,context||example.doc); };
$.fn = $.prototype = jQuery.fn;
$.ui = jQuery.ui;

there's clearly something i'm not getting here, perhaps it's obvious
to someone?

- martin.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to