how do I make it so that
in about 5 seconds after the page loads, it opens a new toolbar less address bar less browser window to a url?
Printable View
how do I make it so that
in about 5 seconds after the page loads, it opens a new toolbar less address bar less browser window to a url?
[Edited by noone on 08-30-2000 at 12:45 PM]Code:<HTML>
<HEAD>
<SCRIPT LANGUAGE=javascript>
<!--
function doShit() {
setTimeout("window.open('http://sajendra.dhs.org','somename','toolbar=no');",5000);
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="doShit();">
<P> </P>
</BODY>
</HTML>
I'm sorry I forgot, I was looking for the answer in PHP
PHP is a server side language. I don't think you would be able to open a new browser using it, especially after the page has loaded. Once the user gets the page, all the PHP should have been processed by the server already.
someone once showed me the way how, but it was a very long time ago