This is probably a cross-window problem. The UI scripts run in a
different context than the actual page, and we don't currently set the
context for new elements to the document that the main element is
from. For example, when creating a slider handle, we create it in the
document the script is running in, not the document the container
lives in. We're aware of the problem and hope to have it fixed in 1.9
or 2.0. In the meantime, if you have time to track down specific
problem areas and file patches, that would be great. You can create
tickets at http://dev.jqueryui.com/newticket (requires registration).


On Dec 17, 10:54 am, Klaus <dott.pero...@gmail.com> wrote:
> I'm trying to inject through GreaseMonkey a script supposed to show a
> slider component.
> The code is (after including the right css and the @require lines for
> jQuery and jQueryUI) :
>
>       $("<div id='container'><div class='slider'></div></
> div>").appendTo("body");
>       $(".slider").slider();
>
> But this throws an error:
> "Component is not available" ns_result:0x80040111
> (NS_ERROR_NOT_AVAILABLE)
>
> Any idea??

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to