Racer
03-15-2005, 07:40 PM
Hi,
Here is my code:
<a href=# onClick="window.open('4.jpg','mypicture','width=600, height=450';"> onClick="window.close();"<img src="4.gif"></a>
It works as in it opens in a new window... But I want it when I click on it (After it is open) it closes.
I have 38 of these, so would really not want to have a 10 line code each.
Thanks!
Here is my code:
<a href=# onClick="window.open('4.jpg','mypicture','width=600, height=450';"> onClick="window.close();"<img src="4.gif"></a>
It works as in it opens in a new window... But I want it when I click on it (After it is open) it closes.
I have 38 of these, so would really not want to have a 10 line code each.
Thanks!