PDA

View Full Version : Pop up position



florida
Dec 6th, 2002, 05:53 PM
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.

A1ien51
Dec 6th, 2002, 07:15 PM
do you really want a pop up window to open up for each link?? This could be done easier with layers and would takes less time to load!

florida
Dec 6th, 2002, 07:37 PM
Please advise how in layers or anyway I can get this done?

CitznFish
Dec 6th, 2002, 09:29 PM
I am not sure if this is what you are looking for, but this popup function allows the same popup window to be reused and also places it in a specific place on the page..



<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
id ="mix";
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=327,height=300,left=200,t op=200');");
}
// End -->
</SCRIPT>

this is how the link should look:

<A HREF="javascript:popUp('/Resources/Popups/bc2.html')">


I think you can figure out the rollover method....

zoobie
Dec 7th, 2002, 01:35 AM
How do you get it to be self-centering?

chrismiceli
Dec 7th, 2002, 01:50 AM
what about .moveTo(0,0) ??