View Full Version : positioning popups


Superstar
08-21-2004, 12:03 AM
on lissa's site (the javascripts page), she gives a code for positioning popups,
"left=#, top=#", so i got the "top" position to work but when i try to position the "left" to be in the center it just stays the same. why isnt it working?

this is the page:http://blossompuppies.com/fun.html, the popup is "how to play". how do i get it to popup in the center?

jtchange
08-21-2004, 12:08 AM
find this bit in your code:

toolbar=0;left=30, top=300

notice that semicolon where it shouldn't be, change that to a comma and that should do it...

Flitt7o2
08-21-2004, 12:11 AM
no clue, but it looks like its popping up in a frame, or maybe its just me, i dont use Internet Explorer, so it may just be that, but if it is popping up in a frame, you cant center the frame itself. you should just make the pop up a pop up window and not use java script, lots easier..

Superstar
08-21-2004, 12:52 AM
thanks, its working now :). the site itself is blossompuppies.com/main.html and all of its pages open up in the frame(thats in the middle). the popup was from a link thats in the /fun.html pg but the pg itself opens up in the frame. the popup opens separate from the frame (but not in it).