Results 1 to 2 of 2

Thread: Window Widget Horizontal

  1. #1
    Join Date
    Mar 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Window Widget Horizontal

    Hi,
    I am using the window widget (http://www.dynamicdrive.com/dynamici...ndow/index.htm) but when I minimize more than one window they stack on top of each other. Is there a way to make them minimize in a row?

    Ed

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

    Default

    Sure, try finding the below line in dhtmlwindow.js:
    Code:
    t.style.top=dhtmlwindow.scroll_top+dhtmlwindow.docheight-(t.handle.offsetHeight*t.minimizeorder)-windowspacing+"px"
    and replacing that with:

    Code:
    t.style.top=dhtmlwindow.scroll_top+dhtmlwindow.docheight-t.handle.offsetHeight-10+"px"
    t.style.left=dhtmlwindow.scroll_left+windowspacing+(t.handle.offsetHeight*t.minimizeorder)+"px"

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
  •