How do I set this up?

Discussion in 'Programming' started by Vagabondette, Mar 21, 2009.

  1. #1
    I have a form I want people to fill out. When they click on the link I'd like the form to open in a pop-up window that is just the size of the form. I'm not sure how to do this. I know how to have things open in a new window but I just want this to be a small box, not a whole browser window. Any suggestions?

    Thanks
     
    Vagabondette, Mar 21, 2009 IP
  2. jensi0008

    jensi0008 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do it with JavaScript.
     
    jensi0008, Mar 21, 2009 IP
  3. fightrsi

    fightrsi Guest

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Here's a sample template for your pop up window. Change 500/500 to whatever width/height you want.

    
    <html>
    <head>
    </head>
    <body onload="window.resizeTo(500,500)">
    YOUR FORM
    </body>
    </html>
    HTML:
     
    fightrsi, Mar 21, 2009 IP