1) Script Title:
DHTML Modal window v1.01
2) Script URL (on DD):
http://dynamicdrive.com/dynamicindex...dhtmlmodal.htm
3) Describe problem:
I use the Window Widget and Modal features without any problem that I haven't managed to solve myself, but now I thought it would improve my site if I could close the popped up "window" by clicking outside it instead of a close button.
Easiest way should be to add some onClick on the veil, or so I figured, but I didn't figure out how to actually do it. Atleast not fast enough, so thought I might aswell ask the wise people here.
Tried to add an onClick to the <div> at the bottom of modal.js , which might very well be the easy way to do it, but I didn't get it right. Most likely some issues with the object, cause I always seem to mess/mix them up.
So any suggestion is greatly appreciated.



Reply With Quote
)
Bookmarks