Posted By

smartalec on 01/14/08


Tagged

redirect browser


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

vali29
luman


Redirect a browser via JavaScript


 / Published in: JavaScript
 

  1. <html>
  2. <head>
  3. <SCRIPT LANGUAGE="JavaScript">
  4. <!--
  5. window.location="http://www.go.here/whatever.html";
  6. // -->
  7. </script>
  8. </head>
  9. <body>
  10. <p>If this page does not re-direct you automatically, please <a href="http://www.go.here/whatever.html">click here</a>.</p>
  11. </body>
  12. </html>

Report this snippet  

You need to login to post a comment.