Results 1 to 2 of 2

Thread: DHTML WIndows Minimised position

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

    Default DHTML WIndows Minimised position

    1) Script Title:
    DHTML WIndows Widget
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...ndow/index.htm
    3) Describe problem:
    It's an excellent widget, it'll probably form the core of my site! I've created a taskbar style elememnt at the bottom, and when i click a window link, it opens the window, and also makes a div apear on the taskbar (so it looks like windows). I want to use the minimize function more as a shrink function (it just displays the box in minimised form, as close will perform the same as minimise, and i will close on the tasbar close the window and hides its tasbar item) however, when i minimise windows, they always return to the bottom left corner and then start stacking - is it pssible for them to just stay where they are, but in minimised form.
    I think i've explained what i'm after pretty clearly,
    thanks for reading this!

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

    Default

    Sure, inside dhtmlwindow.js, find the following chunk of code, and comment out 3 of them:

    Code:
    //t.style.left="10px" //left coord of minmized window
    //t.style.width="200px"
    var windowspacing=t.minimizeorder*10 //spacing (gap) between each minmized window(s)
    //t.style.top=dhtmlwindow.scroll_top+dhtmlwindow.docheight-(t.handle.offsetHeight*t.minimizeorder)-windowspacing+"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
  •