OnClick problem in IE7

  TonyG57 20:24 29 Nov 06

On a web page I use the following code which,on clicking on a small image, takes you to a larger version in a window of a size as defined in the code below.
The viewer then closes the small window using theX in the top right corner revealing the original window still open underneath.
It works fine in Firefox and Opera. On clicking the small image, IE7 opens the big image in a new full sized window which you can only close and return to the original page using the arrow top left.
Why does it work differently from the others and ignore the size constraints?

a href="images/testbig.jpg"
onclick="window.open('images/testbig.jpg','myWin', 'status, width=800, height=600, screenX=200, screenY=150,left=100,top=75'); return false"> img
src="images/testsmall.jpg" alt="testpic1"
style="border: 0px solid ; width: 180px; height: 136px;" hspace="0"
vspace="0"> /a>


This thread is now locked and can not be replied to.

Surface Pro 5 News - release date, UK price, features, specs

Microsoft Surface Studio hands-on review: the iMac killer is here

Best Mac antivirus 2017