Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Form pop-up

  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Posts
    264
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form pop-up

    I have a poll on my site, and I want the results when voting to open in a pop-up instead of a window, how can I do that please?
    Please visit http://www.thickandthinpizza.com and tell me what you think.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm guessing this is what you want:

    <form action="whatever" target="_blank">

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Posts
    264
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I know that but I want the window to have no scollbar, statusbar, or toolbar.
    Please visit http://www.thickandthinpizza.com and tell me what you think.

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Posts
    264
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hello?
    Please visit http://www.thickandthinpizza.com and tell me what you think.

  • #5
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    this is really a javascript question

    <html>
    <head>
    <script language="javascript">
    function openPopUp(){
    window.open("","_popup","toolbars=0,scrollbars=1,location=0,resizable=0,status=0,width=800,height=600");
    }
    </script>
    </head>
    <body>
    <form action="whatever" target="_popup">
    ...
    <input type="submit" name="btnSubmit" value="Vote" onclick="openPopUp()">
    </form>
    </body>
    </html>
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •