View Full Version : DHTML WIndows Minimised position

08-22-2007, 10:07 PM
1) Script Title:
DHTML WIndows Widget
2) Script URL (on DD):
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!

08-23-2007, 07:20 AM
Sure, inside dhtmlwindow.js, find the following chunk of code, and comment out 3 of them:

//t.style.left="10px" //left coord of minmized window
var windowspacing=t.minimizeorder*10 //spacing (gap) between each minmized window(s)