Help - Search - Members - Calendar
Full Version: Popup Window Help Please
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
kevkim
Hi - i'm new to this creatablogamajig.

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


Thanks in advance.
lovescream
one:
you can edit the part of the code that is red.


<!-- 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 -->



and two: i have no idea what padding is biggrin.gif
kevkim
tongue.gif "padding" :the picture doesn't start at the top left corner. it starts a bit down and to the left. i want the picture to start at exactly at the top left corner.

moreover, yea, i've tried to change those values that you highlighted in red. but that didn't seem to work. mad.gif

thanks for the help though.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.