View Full Version : DHTML Modal window - problem in IE

07-28-2007, 11:04 PM
1) Script Title: DHTML Modal window

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm

3) Describe problem: I'm using the script to open movies, but in Internet Explorer, when I close the Modal window, the music keeps playing in the background. It works in Firefox and Safari and Opera, just not in IE. Is there something I can add to make sure the onclose function works to kill the movie playing in IE?

Here's my page:

It seems to work in IE on http://www.questable.com/ - I tried to fiddle around with using some code from that, but nothing has worked so far.

Any suggestions would be great, thank you very much.

07-29-2007, 04:22 AM
Read this thread:


Also, you might want to check out this new script:


07-29-2007, 04:27 AM
I guess it doesn't work with AJAX?! I've gone to using iframe and it seems to be working. Thank you!