Results 1 to 4 of 4

Thread: DHTML Window Widget - centering problem

  1. #1
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget - centering problem

    1) Script Title: DHTML Window Widget

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

    3) Describe problem:
    Great script! However I have one problem with the centering feature (using center=1).

    It seems that it works fine the first time the popup link is clicked, the widget gets centered on screen. However if I close it, and reclick the same link, the widget appears but gets positioned off center (somewhere abit towards the bottom right).

    FYI I'm using a 22" widescreen monitor on 1680x1050 resolution. Reducing the res to 1024*768 doesn't help either.

    Thanks in advance for the help.

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

    Default

    Does the problem occur for you with the DD demos as well, or just on your own page. If the later, please post a link to the page on your site that contains the problematic script so we can check it out.

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

    Default

    My bad, there might just be a bug with dhtmlwindow.js. Try the attached version instead.

  4. #4
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It works perfectly now. Thanks alot for your effort!

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
  •