Web Code Help!

Soldato
Joined
18 Oct 2002
Posts
5,586
Location
Stone, Staffordshire
OK I've got the following code:

<a onClick="window.open('URLtoBeOpened','mywindow','width=750,left=200,scrollbars=1,top=100,screenX=200,screenY=100')"><img class="aligncenter size-full wp-image-139" title="TitleText" src="ImageURL" alt="" width="200" height="57" /></a>

With this I don't get the mouse cursor changing to finger which I do if I just have a <a href='URLtoBeOpened' target="_blank"><img src="imgURL"></a>

Anyone offer a suggestion?
 
Code:
<a href="#" onclick="window.open('URLtoBeOpened','mywindow','width=750,left=200,scrollbars=1,top=100,screenX=200 ,screenY=100');return false"><img class="aligncenter size-full wp-image-139" title="TitleText" src="ImageURL" alt="" width="200" height="57" /></a>
 
Code:
<a href="#" onclick="window.open('URLtoBeOpened','mywindow','width=750,left=200,scrollbars=1,top=100,screenX=200 ,screenY=100');return false"><img class="aligncenter size-full wp-image-139" title="TitleText" src="ImageURL" alt="" width="200" height="57" /></a>

Mate you're a star!

Many thanks, works a treat! :D
 
Back
Top Bottom