Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Javascript Redirect after X amount of time code
#1
Code:
<scripttype="text/javascript">functionRedirect()
{  
window.location="http://www.newpage.com";
}
document.write("You will be redirected to a new page in 5 seconds");
setTimeout('Redirect()',5000);</script>
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)