trying to auto load next page
Hi. I am trying to make my 2nd page auto load after an animated logo appears on the first. I have tried <script>setTimeout(function(){window.location.href ='home.html'},5000);</script> and it works, however it keeps looping back to my first page. Hoping someone could offer some help. maybe i need to put a stop command on the 2nd page?!?!? or something like that. My first page (the one with my animation) is my "index" my 2nd page (the one I want to stop at) is "home" . that might be a reason too not sure
Re: trying to auto load next page
Can you give us a link (maybe like www dot example dot com because you might not yet be allowed to post links) or an example design file?
1 Attachment(s)
Re: trying to auto load next page
It shouldn't loop. I just tried your code in a test site & it works as expected. See attached.
Re: trying to auto load next page
Brian - I have moved this thread to the Web Design Chat forum.
Welcome to TalkGraphics
Re: trying to auto load next page
So what I was doing wrong was placing the code in the "web properties" under placeholder tab under <head>. Thank you EGG Bramhill for showing me to put it in web page properties <body> it works Now!!!
Re: trying to auto load next page
Sometimes using your HEAD is not the best policy. :)
Re: trying to auto load next page
Pleased to have helped Brian.
Not even going into 'using your body' Gary ;)