PDA

View Full Version : Designating the location of a pop-up window


AshleyQuick
01-30-2003, 06:43 PM
Can someone explain how, using this script, I could modify it so that the window is in a certain location?


<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function showRemote() {
self.name = "main";

var windowprops = "toolbar=0,location=0,directories=0,status=0, " +
"menubar=0,scrollbars=0,resizable=0,width=575,height=600";

OpenWindow = window.open("popup_FebruaryWebPromo.html", "remote", windowprops);
}

// End -->
</script>

beetle
01-30-2003, 07:07 PM
In the windowprops variable, add

",left=100,top=100"

Or whatever x,y coordinates you prefer