hi here is my code
<span class="style6"><a href=http://www.webdeveloper.com/forum/archive/index.php/"music/index.html"><img src="images/playbutton.jpg" width="50" height="50" border="0" onclick="MM_openBrWindow('music/index.html','','width=325,height=150');return false" />
this is the url
<!-- w --><a class="postlink" href="http://www.kevinray.co.uk">www.kevinray.co.uk</a><!-- w -->
clicking the playbutton should pop up a new window and the main should stay where it is but its not the main is going to the same url as the pop up and now its really pissing me off
maybe cause my head is all mush now i cant think
could someone shed some light on this im nearly tearing my hair out
thanksMove the onclick out of the <img> into the <a>. Where you currently have it the return fals suppresses the default action of clicking on the image (which doesn't exist anyway) rather than the default action for the <a> (which is to open the new page in the current window).thanks your a star
<span class="style6"><a href=http://www.webdeveloper.com/forum/archive/index.php/"music/index.html"><img src="images/playbutton.jpg" width="50" height="50" border="0" onclick="MM_openBrWindow('music/index.html','','width=325,height=150');return false" />
this is the url
<!-- w --><a class="postlink" href="http://www.kevinray.co.uk">www.kevinray.co.uk</a><!-- w -->
clicking the playbutton should pop up a new window and the main should stay where it is but its not the main is going to the same url as the pop up and now its really pissing me off
maybe cause my head is all mush now i cant think
could someone shed some light on this im nearly tearing my hair out
thanksMove the onclick out of the <img> into the <a>. Where you currently have it the return fals suppresses the default action of clicking on the image (which doesn't exist anyway) rather than the default action for the <a> (which is to open the new page in the current window).thanks your a star