Results 1 to 3 of 3

Thread: Modal Windows always reopens as resizeable

  1. #1
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Modal Windows always reopens as resizeable

    1) Script Title:
    DHTML Modal window

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm

    3) Describe problem:

    This problem occurs when a modal window is opened a second time. I have found it on my own window-widget enabled pages (where the windows are defined as no resizable and not scrollable), but It's easy to replicate on the DD demos:

    - Go to Modal demo (http://www.dynamicdrive.com/dynamici...demo-modal.htm)

    - Click on Example 3 link (Open Age Verification Window)

    The modal window goes just fine as "no resizable".

    - Press any button to give away the window

    - Click again the Example 3 link

    The same modal window looks now as resizable, with the resize icon on bottom right corner (and maybe it's even scrollable... ).

    I'm using latest version just downloaded of both Window and Modal widgets.

    Best regards,
    NK.

    (I apologize for reposting this issue here. It seems this is the right thread to post it but he BUG-FIX subject in the another thread confused me and now I don't know how to move/delete it).

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

    Default

    I see what you mean. There is a minor bug within dhtmlwindow.js that's causing this. Just replace that file with the below version instead. Eventually I'll be updating the script on DD with this fix as well.

    The bug effects both the modal window and the dhtml window widgets.

  3. #3
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes! It runs fine now. Thanks for your kind help,

    NK.

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
  •