smiles Posted March 22, 2007 Share Posted March 22, 2007 your page now is url1, after 5s is url2, after 10s is url3 setTimeout("window.location='http://www.url1.com'",5000); setTimeout("window.location='http://www.url2.com'",10000); bet that it doesn't work cause cascade propertyhow can you solve that ?thanks Link to comment Share on other sites More sharing options...
iyeru42 Posted March 22, 2007 Share Posted March 22, 2007 That doesn't work because you change the page at 5000 seconds. On page two, have the below code again: setTimeout("window.location='http://www.url2.com'",5000); Otherwise it won't work. Or you could do a frameset, but I'm totally against that. Link to comment Share on other sites More sharing options...
smiles Posted March 22, 2007 Author Share Posted March 22, 2007 On page two, have the below code again:setTimeout("window.location='http://www.url2.com'",5000); yeah exactly, very smart idea, thanks so much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now