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
loading a page and executing a script local to it [message #17332] Fri, 26 March 2004 04:03 Go to previous message
sarsonuk is currently offline  sarsonuk   United States
Messages: 1
Registered: March 2004
Location: UK
Karma:
Junior Member

I'm trying to execute a string that will load a page and execute a script local to that page from a menu item in a frame.
The first part of the code works i.e. it loads the page no problem but I cannot get the function to execute when the page loads.
The code I am using is:-
javascript:parent.mainFrame.location.href='./america_ss.html';javascript:pa rent.mainFrame.setslide(3)

I am worried that the reason the function is not executing is because the .js file hasn't loaded in time before the function is executed.

The page can be seen that I am trying to interface at http://www.geocities.com/sarsonuk/travel.html and select america/sugarloaf

Can anyone help
Thanks in advance
Pete
[Message index]
 
Read Message
Read Message
Next Topic: Select Avatar Problems
Goto Forum:
  

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

Current Time: Thu Jun 06 17:52:05 GMT 2024

Total time taken to generate the page: 0.06097 seconds