Forums

This topic is locked

Javascript Error

Posted 03 Aug 2006 19:57:07
1
has voted
03 Aug 2006 19:57:07 Brian Tunks posted:
www.geocities.com/macabreartsfl/brianart.html

that's the page i've got the error on, notice that when the picture is clicked, it opens the new sized window but also changes the original page. What can I do to make it stop changing the original page and ONLY open the new window?

read my source code, thank you!

Replies

Replied 04 Aug 2006 12:03:48
04 Aug 2006 12:03:48 Roddy Dairion replied:
Had a look at your code and you have a link tag <a href> you can remove it and instead just put the onclick event withing the img tag,<img src="link to your image" onclick="javascript:window.open('path to your image' etc..);">

Edited by - roders22 on 04 Aug 2006 12:06:47

Reply to this topic