Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- window.open in Javascript


BlobFisk - 11:03 am on Aug 28, 2002 (gmt 0)


Hi Markie,

Welcome to WebMasterWorld... I'm sure that you'll find it a fantastic resource, as I certainly have!

It may be worthwhile having a look at the TOS [webmasterworld.com], and the welcome post [webmasterworld.com] by paynt (a moderator here). They are both excellent introductions to posting here!

I reckon that because this script is in the original page that opens the new, blank.html page - when you hit Ctrl-N on blank.html, the setTimeout script is not at all associated with it.

A better way may be to use a meta refresh tag in the head of blank.html, <meta http-equiv="refresh" content="10;URL=testpage.html">. This means that any opening of blank.html will automatically refresh to testpage.html after 10seconds.

This method will work in all browsers...

HTH


Thread source:: http://www.webmasterworld.com/javascript/183.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com