twright6
03-01-2012, 04:51 AM
Window Widget
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm
I need to customize the script in two ways.
First I will be using the script in two different ways on the same page. I need to use it as a mouseover popup in which case I do not want to display the close button. The other method will be as a modal in which case I need the close button. Is there an easy way to hide the close button based on my usage?
Second I would like an idea of how to close the modal version when the escape key is pressed?
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm
I need to customize the script in two ways.
First I will be using the script in two different ways on the same page. I need to use it as a mouseover popup in which case I do not want to display the close button. The other method will be as a modal in which case I need the close button. Is there an easy way to hide the close button based on my usage?
Second I would like an idea of how to close the modal version when the escape key is pressed?