andykee
07-01-2003, 02:49 PM
Why is this code causing the link to be opened in a new window? I would like it to open a new page in the same window.
<script language="JavaScript">
image0 = new Image();
image0.src = "scooters_on.bmp";
</script>
<body>
<a href="scooters/scooters.html" target="_blank" onmouseover="image0.src='scooters_on.bmp';"
onmouseout="image0.src='scooters_off.bmp';">
<img name="image0" src="scooters_off.bmp" border="0" style="position:absolute; top: 20px; left: 325px; width:108px; height:11px;"></a>
</body>
<script language="JavaScript">
image0 = new Image();
image0.src = "scooters_on.bmp";
</script>
<body>
<a href="scooters/scooters.html" target="_blank" onmouseover="image0.src='scooters_on.bmp';"
onmouseout="image0.src='scooters_off.bmp';">
<img name="image0" src="scooters_off.bmp" border="0" style="position:absolute; top: 20px; left: 325px; width:108px; height:11px;"></a>
</body>