PDA

View Full Version : DHTML Window Widget



machinna
03-07-2007, 05:18 PM
I'm try use DHTML Window widget in Relative Position (Inside Table) but not working.

I'm wish static position for window without move.

Someone can help me ? or one Sample for me ?

Very Thx

Sorry for my bad english :)

http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm

ddadmin
03-07-2007, 11:13 PM
Are you basically asking how to disable dragging of the window? To do so, find the three lines inside the .js file, and delete the highlighted portion in red:


if (etarget.className=="drag-handle") //if target element is "handle" div
d.move(etarget._parent, e)
else if (etarget.className=="drag-resizearea") //if target element is "resize" div