View Full Version : can someone CENTER my pop-ups

Jun 21st, 2002, 02:36 AM
Forgive me for posting two threads on the same subject but my problem got buried under several posts and I need help.

The bottom line problem is this:

- my pop-ups using the code below are popping up on the screen with half of the pop-up off screen to the right. I have to drag the pop-up window over to the left to see the whole thing.

Here is the script:


//Popup Window Script
//By JavaScript Kit (http://javascriptkit.com)
//JavaScript tutorials and over 400+ free scripts

function openpopup(popurl,settings){

<input type="button" value="Click here to see" onclick="openpopup('venice_beach_sunsetpoll. htm','width=400,height=338,scrollbars,resizable,')
" >
<input type="button" value="Click here to see" onclick="openpopup('a_different_page.htm','width=200,height=200')" >

Can anyone show me this same code with the necessary additions to correct this problem?

Thank you!!

Jun 21st, 2002, 02:39 AM
There's no need to post again - and actually it's against the forum rules.

Try the code I posted again... I'm going to edit the post to try and remove the line breaks...

Jun 21st, 2002, 02:43 AM
Yes, please don't start new topics when not necessary.

For anyone who doesn't know,

Anyway, I'm going to close this thread. Don't worry about, just refrain from it in the future. :)