PDA

View Full Version : Auto-Execute a link



barpoker
02-25-2006, 04:59 PM
Hello All. I have a question that I need help with. I have a link, and I need that link to be automatically executed after a certain period of time after the page loads. Any help would be greatly appreciated.

Twey
02-25-2006, 05:12 PM
Use a meta refresh:
<meta http-equiv="refresh" content="5;http://www.othersite.com/mypage.htm" />That's to go to http://www.othersite.com/mypage.htm in five seconds after the page is loaded. The tag should be put in the <head> of the page.

This thread is in the wrong forum.

Xiong Chiamiov
03-02-2006, 06:24 AM
Can't you also set a timeout() in javascript for browsers that don't support meta refresh? Or am I just smoking something?