-
error calling close function for dhtmlmodal
1) Script Title: dhtmlmodal
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem: Using an inline dhtml modal window: when closed by clicking on the "X" icon, the window and veil close properly. However, when called from javascript using the close function with a script, the window closes properly, but the veil is not removed.
4) Proposed solution: I believe that I have identified the source. In the modal.js, the following code
t.hide=function(){dhtmlmodal.close(this)} //OVERWRITE default t.hide() method with new one
probably should be
t.hide=function(){dhtmlmodal.hide(this)} //OVERWRITE default t.hide() method with new one
t.close=function(){dhtmlmodal.close(this)} //OVERWRITE default t.close() method with new one
I have changed the code in my source for modal.js and the close functions works properly.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks