open a jpeg in a new window (links)
I have this pic and its a link. But how do i make it so that when i click on the pic it opens up in a new window and not the current one????? PLEASE HELP!! thanks
<a href=""><img src=""></a>
<a href="" target="_blank"><img src=""></a>
I think an easier way would be to use JS instead of just plain HTML.
Originally Posted by Stevos
...onclick="window.open(this.href); return false;">
Works for me - and will just open in the same window if js is disabled.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)