if you goto my page kevkim, and click on the DOT near the top, a have made a picture popup in a new window to a specified size. I need help with 2 things:
1) How to make the window pop up in the center of any sized screen?
2) If you notice in the new window, the top and left inner side of the browser is "padded" and the picture cuts off the bottom and right side of the window. how do i make the picture start at top=0 and left=0, exactly?
i'm using this code.
CODE
<!-- begin code provided by createblog.com -->
<a href="#" onclick="window.open('http://aznreverie.homestead.com/files/reverie/xanga/kevkim02.jpg', 'newwnd', 'WIDTH=540, HEIGHT=404, LEFT=0, TOP=0, innerHeight=402, innerWidth=536, status=0,scrollbars=0,resizable=0,menubar=0,toolbar=0,navbar=0')"><img src="http://aznreverie.homestead.com/files/reverie/xanga/dot1.jpg" border=0></a>
<!-- end code provided by createblog.com -->
<a href="#" onclick="window.open('http://aznreverie.homestead.com/files/reverie/xanga/kevkim02.jpg', 'newwnd', 'WIDTH=540, HEIGHT=404, LEFT=0, TOP=0, innerHeight=402, innerWidth=536, status=0,scrollbars=0,resizable=0,menubar=0,toolbar=0,navbar=0')"><img src="http://aznreverie.homestead.com/files/reverie/xanga/dot1.jpg" border=0></a>
<!-- end code provided by createblog.com -->
Thanks in advance.