1) Script Title:
DHTML Modal Window v1.1
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem:
I'm noticing a weird behavior. First, I tested my solution in a local server using IE6. The modal window works fine when launching IE6 locally. But when I hit the same page from across the Internet using IE6 I get a Javascript error.
The error is not very telling. Just says Line 288 Char: 2 Error: Unspecified error.
I tested in IE7 and FireFox 2 and 3. No problems.
I meticulously inserted debug alert()'s until I found the line of code that seems to be causing the trouble. It's in the dhtmlwindow.js file in the setopacity function.
This line:
if (targetobject.filters && targetobject.filters[0]){ //IE syntax
Again, it doesn't have a problem if I use IE6 from the local machine's desktop itself.
The page basically covers itself with the "veil" then stops with the error just before opening the modal window.
Has anyone come across this issue?
-Thanks



Reply With Quote

Bookmarks