PDA

View Full Version : DHTML Modal 1.1 - IE6 problem



obermotz
08-26-2008, 08:17 PM
1) Script Title: DHTML Modal 1.1

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

3) Describe problem:

Whenever I try to access my application with IE6, I receive the following error message:

ERROR: Modal Window script requires all files from "DHTML Window widget" in order to work!

This message is only displayed in IE6. IE7, FF, Opera and Safari have no problem displaying my pages. Any ideas?

ddadmin
08-27-2008, 08:41 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

obermotz
08-27-2008, 09:55 AM
Hi,

the script is available here:

http://obermotz.extra.hu/flats .

When I open the site with anything but IE6, the initial login dialog pops up correctly, but with IE6 I only get the error message mentioned in the first post.

ddadmin
08-27-2008, 06:28 PM
Hmm that's strange. Try moving the external file references to dhtmlwindow.js/ dhtmlwindow.css from jelszo.php to the HEAD of your main master frames page:


<script type="text/javascript" charset="utf-8" src="http://www.extra.hu/lib/webmaster/webmaster.js?scr=1&amp;username=obermotz&amp;host=obermotz.extra.hu&amp;rid=536529684"></script><HTML>
<HEAD>
<TITLE>Housing Service</TITLE>

<link rel="stylesheet" href="/flats/lib/modal/dhtmlwindow.css" type="text/css" />

<script type="text/javascript" src="/flats/lib/modal/dhtmlwindow.js">

/***********************************************
* DHTML Window Widget- Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<link rel="icon" type="image/png" href="flats.png">
</HEAD>
<frameset frameborder='0' framespacing='0' border='0' cols='0,*'>
<frame marginwidth='0' marginheight='0' src='ures.html' name='fCode' noresize scrolling='auto' frameborder='0'>
<frame marginwidth='0' marginheight='0' src='jelszo.php' name='fMain' noresize scrolling='auto' frameborder='0'>
</frameset>
</HTML>

The idea being to minimize the chances that dhtmlwindow.js isn't loaded yet when dhtml modal window is (which seems to be what IE6 is complaining about).