FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » HTML, Javascript, jQuery & AJAX » loading a page and executing a script local to it
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: loading a page and executing a script local to it [message #17848 is a reply to message #17332] Thu, 22 April 2004 12:46 Go to previous message
lahoo is currently offline  lahoo   Sweden
Messages: 62
Registered: April 2004
Karma:
Member
You could pass the name of the function to call as a parameter to the page you intend to load and then have logic in the body's onload()-method to execute that function.

The general solution would eb something like this.
javascript:parent.mainFrame.location.href='./america_ss.html?setslide(3)'

and in america_ss.html
<body onload="eval(location.search.substr(1))">

Please note that the code above is just an outline. I didn't mind adding error handling or anything else.
[Message index]
 
Read Message
Read Message
Next Topic: Select Avatar Problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 23:33:25 GMT 2024

Total time taken to generate the page: 0.04232 seconds