kippie
03-08-2003, 07:49 PM
In the HTML below the user is automatically referred to another website in a new window. How can I change it so that the new website is opened in the same window?
This is the HTML:
<html>
<head>
</head>
<body>
<script><!--
function openWin(url) {
popup = window.open(url,"popup");
}
setTimeout("openWin('http://www.yahoo.com', 'myWin', 'toolbar,status,resizable,scrollbars,width=650,height=500, left=125,top=100')",10);
// -->
</script>
</body>
</html>
Kippie
This is the HTML:
<html>
<head>
</head>
<body>
<script><!--
function openWin(url) {
popup = window.open(url,"popup");
}
setTimeout("openWin('http://www.yahoo.com', 'myWin', 'toolbar,status,resizable,scrollbars,width=650,height=500, left=125,top=100')",10);
// -->
</script>
</body>
</html>
Kippie