Link to home
Start Free TrialLog in
Avatar of EWilson12
EWilson12

asked on

5 second pause then redirect.

Howdy, I was wondering if anyone had a code snippet out there that displays a page for X seconds and then loads another page.

Thanks, Eric
Avatar of Saqib Khan
Saqib Khan
Flag of United States of America image

<Script>
function gothere() {
window.location = "PATH_HERE.HTML"
setTimeout("gothere()", 5000)
}
</Script>

<body onLoad="gothere()">
ASKER CERTIFIED SOLUTION
Avatar of Saqib Khan
Saqib Khan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of EWilson12
EWilson12

ASKER

works great thanks ;)
Great I helped.
Thanks for an "A"