PDA

View Full Version : DHTML Window widget (v1.02)



JeanNg
04-26-2007, 09:45 PM
1) Script Title: DHTML Window widget (v1.02)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm

3) Describe problem: Thank you very much for this script. My issue may appear trivial and perhaps not worth your time. But I'll ask anyway.

How can you modify this script so as to add hovering to the "close", "minimize", and "restore" buttons of the window? A sample script would be much appreciated (if advanced).

Note: I would get the additional, nuanced images myself.


Thanks
JeanNg

ddadmin
04-27-2007, 05:29 AM
Try using the attached modified version of dhtmlwindow.js. In it, customize the line:


imagefilesover:['windowfiles/min.gif', 'windowfiles/close.gif', 'windowfiles/restore.gif', 'windowfiles/resize.gif'],

To correspond with the mouse over versions of the three icon images, respectively.

JeanNg
04-27-2007, 01:46 PM
Thanks a million. It works like a charm.

JeanNg