I have created a portfolio in which a user clicks on an image and a popup window comes up with a larger image. The window loads a new html page with a .gif placed in it. I have all of the properties set to "0" so the image is centered titghtly in he window. This works fine in every browser except Internet Explorer 5.1 on a Mac. Here the Mac is adding 5-8 pixels along the right and bottom of the popup, making the image look off-centered (up and to the left). Is there a way to fix this? Should I use another, better popup script?
Here is the script I used:
1. In the Head:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
2.In the image:
<a href="javascript:MM_openBrWindow('detailpage_nippon.html','','width=296,height=374') " onFocus="if(this.blur)this.blur()"><img src="nippon.gif" width="515" height="185" border="0"></a>
Thanks
Here is the script I used:
1. In the Head:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
2.In the image:
<a href="javascript:MM_openBrWindow('detailpage_nippon.html','','width=296,height=374') " onFocus="if(this.blur)this.blur()"><img src="nippon.gif" width="515" height="185" border="0"></a>
Thanks