Smudly Posted June 8, 2010 Share Posted June 8, 2010 I am working on a Traffic Exchange project and trying to figure out how to change the bottom frame's target website to a separate one. In the top frame, is a countdown. After the countdown hits 0, a link shows up that says "Next". After clicking this link, the top frame should stay how it is (except for the javascript timer resetting) and the bottom frame should open a new website. I've been exploring some ideas on how to do this, and haven't gotten anywhere. Any help would be appreciated. <html> <head> <title>My Traffic Exchange</title> </head> <frameset rows="80,*" BORDERCOLOR="#222222" BORDER="3"> <frame src="surfbar.php" name="surf" marginwidth="O" marginheight="0" NORESIZE SCROLLING="no" /> <frame src="http://google.com/" name="Site" marginwidth="O" marginheight="0" noresize scrolling="auto" /> </frameset> <noframes> <body><p>Sorry, but your Browser does not support Frames. Please open this page in a new browser.</p></body> </noframes> </html> Quote Link to comment Share on other sites More sharing options...
lemmin Posted June 8, 2010 Share Posted June 8, 2010 You should be able to just change the location top.Site.location = 'http://www.google.com'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.