Return to Kroll Design home page

JavaScript Tutorials

« Return

re-directing to another page

The following javascript in the body tag will automatically re-direct the page to another page, but it doesn't work on all browsers:

<body onload="javascript:document.links[0].click();">

A more reliable method for re-directing the page is to put the following meta tag into the head section of the page:


Click here to go to a page that automatically re-directs to the Kroll Web Design home page after 3 seconds.

« Return

©2012 Kroll Design    781.910.3694
Last modified: 12/31/1969 7:00 PM