PDA

View Full Version : IMage swap in another window


Awesomesteveh
01-02-2002, 10:38 PM
I just can't figure it out. Every time I try the swap it sends me to the index.html page as if I forgot the return false line or the "#" line. I can't seem to figure it out so if you can please give me insight on what I did wrong and if you can't please post that here.

<script language=javascript>
<!--
var the_window=window.open("/mo2/bfhome/ch5ex7halfini.html","the_window","height=300,width=300");
//-->
</script>

<a href="#" onClick="the_window.document.click.src='click2.jpg';">Click 2</a><br>

<a href="#"
onClick="the_window.document.click.src='click3.jpg';">Click 3</a><br>

also it the example may be found at www.angelfire.com/mo2/bfhome/ch5ex7fini.html