Click to See Complete Forum and Search --> : Pop up window position


florida
12-06-2002, 11:57 AM
How can I make a mouseover pop up for a link where it pops up in the same exact position every time? I want to put links in this small pop up(on mouseover only) where the pop up comes up exactly in the left corner of my page everytime. On mouseout the popup window should dissapear.

Zach Elfers
12-06-2002, 12:13 PM
<script language="JavaScript" type="text/JavaScript">

leftPos = 0
if (screen) {
leftPos = screen.width-255;
}
topPos = 0
if (screen) {
topPos = screen.height-255;
}

newWin = window.open("","newWin","width=whatever,height=whatever,left=" + leftPos + ", top=" + topPos");

</script>

I think that will do it.