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 :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
loading a page and executing a script local to it [message #17332] Thu, 25 March 2004 23:03 Go to previous message
sarsonuk is currently offline  sarsonuk   United States
Messages: 1
Registered: March 2004
Location: UK
Junior Member
add to buddy list
ignore all messages by this user

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
[Message index]
Read Message
Read Message
Next Topic: Select Avatar Problems
Goto Forum:

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

Current Time: Wed May 25 16:17:30 EDT 2022

Total time taken to generate the page: 0.00784 seconds