www.webdeveloper.com
Results 1 to 5 of 5

Thread: Is there a way to make pop-ups resize automatically?

  1. #1
    Join Date
    Nov 2005
    Posts
    169

    Question Is there a way to make pop-ups resize automatically?

    Is there a way to make pop-ups automatically detect what size they need to be? I would like them to fit the page exactly without me telling it to (I don't know the actual sizes). Is there a way to do this?

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    No.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  3. #3
    Join Date
    Nov 2002
    Location
    Flint, Michigan, USA
    Posts
    593
    Unless the popup is intended to display a particular image, there is no "need to be" any particular size, therefore nothing to detect, therefore "no."

    If the popup is to display an image, you could load the image, check its width and height, and then resize the page accordingly.
    Please give me a hand at http://www.gofundme.com/bkzr98.

  4. #4
    Join Date
    Apr 2006
    Location
    Orange County, California
    Posts
    177
    http://www.irt.org/script/script.htm

    There are some good suggestions here under the windows link.
    In Somnis Veritas
    In Dreams There Is Truth

  5. #5
    Join Date
    Nov 2005
    Posts
    169
    Okay, thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles