PDA

View Full Version : can someone CENTER my pop-ups



ubtheboss
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:

<script>

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

function openpopup(popurl,settings){
winpops=window.open(popurl,"",settings)
}

</script>
<form>
<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')" >
</form>


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

Thank you!!

whammy
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...

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

For anyone who doesn't know,
http://www.codingforums.com/showthread.php?s=&threadid=295

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