1) Script Title: DD Drop Down Panel and DHTML Window widget (v1.1)


2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
http://www.dynamicdrive.com/dynamici...pdownpanel.htm

3) Describe problem:
Hello there,
I am implementing the dhtmlwindow together with dropdown panel, My intention is to change the minimize action in the dhtmlwindow to use the dropdown panel code.

I basically combine the code from the ddpanel to the dhtmlwindow. After the dhtmlwindow body setup finished(I add need ids for the ddpanel to work) I then copy the ddpanel code for the setting and initial the panel.

This code worked with demo.html for the first window witch will be the google window. but if I disable the creation for the first window then the second will work. but if disable the second window then the third window through the function will not work.

I suspect the timing is not right, or the window body is not ready when the panel code execute, please shine me some light on this. I have been trying for whole day. Attached is my code as text file

Thanks for help