Page Style Changes with Popup

Discussion in 'HTML' started by MC, Sep 12, 2008.

  1. MC

    MC Guest

    I have a page that has a submit link in it for a popup. The page does the
    popup fine but the parent window redraws all of the input fields at
    half-height. No matter what I do, the input fields are scrunched after the
    popup window opens.

    The popup code looks like:
    var mywin =
    window.open("proposal.jsp","Proposal","HEIGHT=600,WIDTH=800,toolbar=yes,statusbar=no,menubar=no,scrollbars=yes,resizable=yes");
    mywin.focus();

    and the input:
    <input type='text' name='fname' style="width:80px;height:14px;" ...

    Adding the following .js
    document.quickquote.fname.style.height="14px";
    at the bottom of the page does not change the scrunched
    fields...completely ignores the javascript.

    Any ideas?

    WindowsXP Pro, IE 7.0

    MC
    MC, Sep 12, 2008
    #1
    1. Advertising

  2. MC

    Bergamot Guest

    MC wrote:
    > I have a page that has a submit link in it for a popup. The page does the
    > popup fine but the parent window redraws all of the input fields at
    > half-height. No matter what I do, the input fields are scrunched after the
    > popup window opens.


    "Doctor, it hurts when I do this..."

    Why not get rid of the pop-up? Problem solved! ;)

    > <input type='text' name='fname' style="width:80px;height:14px;" ...


    FYI, setting height:14px means my minimum 17px font size will get
    chopped off in a too-short textbox, seriously degrading usability. Have
    some compassion for your users and drop the bogus height altogether, eh?

    As for your stated problem, this little code snippet is insufficient for
    determining what's going on. Post a URL. Don't post the full code here
    because nobody wants to see it here. Just post a URL.

    --
    Berg
    Bergamot, Sep 14, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve C. Orr, MCSD

    Re: Update webform with changes in a popup form

    Steve C. Orr, MCSD, Aug 8, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    758
    Steve C. Orr, MCSD
    Aug 8, 2003
  2. Ken Varn
    Replies:
    0
    Views:
    428
    Ken Varn
    Apr 26, 2004
  3. mmac
    Replies:
    4
    Views:
    119
  4. Jens Peter Hansen
    Replies:
    7
    Views:
    500
    Randy Webb
    Jun 19, 2004
  5. Replies:
    2
    Views:
    449
Loading...

Share This Page