...

View Full Version : How to make refer.html in same window?



kippie
12-25-2005, 04:45 PM
I use the following script to refer an opening html to another page, but the script opens a new window. How can I keep it in the same window?

This is the script I have:
<script language="javascript">
<!--
var time = 2; // delay in seconds;

function redir(){
timer = setTimeout("go()", (time * 6700));
}

function go(){
("http://www.management-trainingen.nl/home.html,"");
}

//-->
</script>

A1ien51
12-27-2005, 02:34 PM
window.location.href="yourLink.html";

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum