-
DHTML Modal window issues
1) Script Title: DHTML Modal window v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem: Love the script. works great, except if I try to link to an external url from my page in the iframe, it will load the page but if clicked on the close 'X' button wont close it. for example:
function contactus(){
emailwindow=dhtmlmodal.open('EmailBox', 'iframe', "http://www.yahoo.com", 'Contact us', 'width=520px,height=390px,center=1,resize=0,scrolling=1')
emailwindow.onclose=function(){ //Define custom code to run when window is closed
return true //allow closing of window
}
This will load yahoo page from your site but you cant close it. any help is much appreciated.
-
-
oh never-mind, this was already reported...less research from my end.
try catch block should fix it. great its working now.
-
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