PDA

View Full Version : About DHTML windows



bad sspy
10-03-2011, 07:49 AM
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/ the code is right here, can i ask one thing?

I want to have this code with one more button: maximize button, Or any one know any code contain a dragable windows, resizable, minimize, close, maximize.
Just like a real windows but in javascript.

one big thing is the script must close windows completely so i can using iframe and no worry about music player can play continuously after closing the window (the div only hide).

ddadmin
10-03-2011, 06:25 PM
With regards to adding a maximize function to the window, there's a few threads on this already:

http://www.dynamicdrive.com/forums/showthread.php?t=37670
http://www.dynamicdrive.com/forums/showthread.php?t=13406

Onto the 2nd part of your question, for IFRAME based windows, opening and closing one should destroy/ re-create the IFRAME entirely, so any music played inside it should also stop when the window is closed.