2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by jenjen02
0

<A HREF="javascript:void(0)"
onclick="window.open('URL')">
CLICK HERE TO OPEN NEW WINDOW</A>

IN THIS WAY YOU CAN EASILY OPEN A NEW WINDOW AT THE SAME TIME WHEN USER CLICK ON THE LINK

0

That worked sorta great! :)

I have it now where it shows the image on the mouseover, and when you click on the link, it brings up the web page in a new window, but unfortunately it also brings up the image since the a href is linked to the image. I wasn't sure if doing the A HREF="javascript:void(0)" would work because there is no reference to what image to show.

This is the code that I have for the link:

<a onmouseover="return showPic(this)" href="images/allservice.jpg" onclick="window.open('www.webpage.com')">Link Goes Here</a>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.