I'm trying to add the qTip script to a site.
I've tried two different ways:
script = document.createElement("script");
script.type = "text/javascript";
script.src = "url to qTip"
document.getElementsByTagName('HEAD')[0].appendChild(script);
and just copying all of the functions into a pre-existing script.
The first way just doesn't work. No error or warning unless I try to
execute tooltip.init() "tooltip.init() does not exist" and the second
way gives me a very strange error
"Error: [Exception... "Component is not available" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
file:///G:/Firefox%20Portable/Data/profile/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
:: anonymous :: line 760" data: no]
Source File:
file:///G:/Firefox%20Portable/Data/profile/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line: 760"
I don't have 760 lines of code so I don't get why this is happening.
Anyone mind helping me?
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" 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/greasemonkey-users?hl=en.