Results 1 to 3 of 3

Thread: dhtml window widget auto resize possible?

  1. #1
    Join Date
    Oct 2005
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dhtml window widget auto resize possible?

    im using the window popup widget.... working great, only thing is, i would like it to size the window to the size of the contect

    here is the link to what im using:
    http://www.dynamicdrive.com/dynamici...ndow/index.htm

    again, instead of 450px, i want auto, or 100%

    is it possible to size around the contect/padding?

    thank you!
    pj

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm what mode are you using to display the content within the window (ie: iframe, ajax etc)? Are you asking how to have the DHTML window auto resize to the width of this content, which I gather has an explicit width itself, such as 600px? If the content is free flowing width wise, then what would the DHTML window use as basis to resize itself to?

  3. #3
    Join Date
    Oct 2005
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    im using ajax...
    the file that is being 'popped up' is going to be changing in size from time to time... and it has paddings of 6 all around...
    i dont want to have to guess around... i just want to the window to be whatever size the content is + padding....

    i wish i didnt have to specify hight and width...
    anyway around this?

    thanks
    pj

Bookmarks

Posting Permissions

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