How to customize the size of a new window

Discussion in 'HTML & Website Design' started by -58-, Jan 15, 2009.

  1. #1
    Hi,

    I'm trying to figure out how to make a customizable sized window. I am using CoffeeCup's Web Form Builder to create a form that visitors can open and request specific information to be sent to them via email. This is not automated simply an email form.

    However as it is now when the link is clicked the form takes the shows up in the middle of a blank page. How do I make new page only the size of the form (350px x 450px)?
     
    -58-, Jan 15, 2009 IP
  2. -58-

    -58- Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This may not be the best way but I got it to work and it appears to be doing what I want.

    I selected the link I wanted visitors to click on
    then went to behaviours
    selected "show all events"
    on the row that says "onClick" I used the Open Browser Window behaviour
    received a prompt where I could select a url, dimensions and window attributes

    Once I set it up the problem was when I clicked on the link it opened the new window but also the main window changed to (because the link was, well a link!) so I changed the target to _self and made the link the original page. Now other than the page reloading when form pops up (which shouldn't be more than a flash because it's already loaded) it seems to work.

    If there's more of a proper way to accomplish this please post and let me know!

    Thanks in advance! :D
     
    -58-, Jan 15, 2009 IP
  3. MadeinHeaven

    MadeinHeaven Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How do I make new page only the size of the form (350px x 450px)?........

    Use this javascript "http://www.pageresource.com/jscript/jwinopen.htm" :)
     
    MadeinHeaven, Jan 15, 2009 IP