Forum Moderators: open

Message Too Old, No Replies

How to right align a pop-up box

         

roberts78

6:54 pm on Dec 20, 2008 (gmt 0)

10+ Year Member



I have a form that when a customer checks a specific box a popup shows up on the page regarding what they clicked. How can I allow this to popup on the right side of the screen instead of in the center. This popup actually stays in the same position on the form whether the screen size is large or small. I have put the code below that I have.
Thanks for the support

<td class = "qformw-text-label">Ladies Division:</td>
<td class = "qformw-text-label1"><Input type="checkbox" Name="division"
value = "yes" <?php print $division; ?> onclick="document.getElementById('info').style.visibility = this.checked ? 'visible' : 'hidden'">Yes (For ladies only)</td>
<div id="ladies_app">
<div id="info" style="visibility:hidden"> You have selected to play in the 'Ladies Only' event... You may also sign up to play in the 'Open' division event by
selecting an 'Open' satellite session below
</div>
<?php } ?>

oddblob

11:09 am on Dec 22, 2008 (gmt 0)

10+ Year Member



I'm not sure myself but i can recommend using a Pop Up generator. Here you can select lots of options such as position of window, size, choose toolbars to be displayed and it gives you the code for you.

Try: [dynamicdrive.com...] or Google: Pop Up Window Generator