[Project_owners] JavaScript includes ... ?

Philip Chee philip at aleytys.pc.my
Fri Mar 18 19:33:46 EST 2005


On Thu, 17 Mar 2005 22:17:25 -0800, Konstantin Svist wrote:

> function import_script(name)
> {
>     var script = document.createElement('script');
>     script.path = fName;
>     script.type = 'text/javascript';
>     var head = document.getElementsByTagName('head').item(0);
>     head.appendChild(script);
> }

Is there a way of doing this in a XBL (not XUL) file?

Phil

-- 
Philip Chee <philip at aleytys.pc.my>
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Just change the gravitational constant of the Universe.
* TagZilla 0.057


More information about the Project_owners mailing list