"Carl" <ca********@hotmail.com> wrote in message
news:b5*************************@posting.google.co m...
I want to load a javascript file on a root page with various iframes,
then call the javascript functions from the root page to be displayed
in the iframes. Any idea how to do this?
Both the script and calls are on the same page? That 's business as usual,
isn't it?
To call a function scripted in a parent from within a framed document, try
if (parent.myfunction) parent.myfunction(myvar);
The if-statement checks whether the function actually exists before calling
it. Once you know the various required files have loaded, this may not be
necessary.
HTH
Ivo