OnClick problem in IE7

  TonyG57 20:24 29 Nov 2006
Locked

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?

Code:
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>

TonyG57

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

Elsewhere on IDG sites

Galaxy Note 8 vs iPhone X

Awful clip art from 1994 is being tweeted every hour by a bot

iPhone X vs Samsung Galaxy Note 8

Les meilleurs navigateurs internet 2017