PDA

View Full Version : Window Widget Horizontal



ed2204
03-07-2008, 10:40 PM
Hi,
I am using the window widget (http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/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

ddadmin
03-09-2008, 01:17 AM
Sure, try finding the below line in dhtmlwindow.js:


t.style.top=dhtmlwindow.scroll_top+dhtmlwindow.docheight-(t.handle.offsetHeight*t.minimizeorder)-windowspacing+"px"

and replacing that with:


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"