#29: Internet Explorer IE 6 and IE 7 crash and jump to DNS error using Prototype to show dialog within another HTML-tag such as form or center. (Open)

Jul 23 2008 * 00:13
Reported by:   Assigned to:  
Priority: Normal  Milestone:  

The following code raises a DNS-error on IE 6 and IE 7, but works on FireFox:

xxx

Note the use of !

The following works fine on IE6, IE7 and FireFox. It is identical except that is replaced by :

xxx

Used revision 574.

Same problem when using the call to new UI.Dialog within , but again only on IE 6 and IE 7!

Changelog:

Modified by – Jul 23 2008 * 00:17

NOT working:

<html>
<head>
<script src="js/pt/prototype.js" type="text/javascript"></script>
<script src="js/pt/effects.js" type="text/javascript"></script>
<script src="js/pt/window.js" type="text/javascript"></script>
<script src="js/pt/dialog.js" type="text/javascript"></script>
<link href="themes/window/window.css" rel="stylesheet" type="text/css">
<link href="themes/window/alphacube.css" rel="stylesheet" type="text/css">  
</head>
<body>
<center>
<script>
UI.defaultWM = new UI.WindowManager();
w = new UI.Dialog({shadow: true, top: 10, width: 400, height:100}).center().setHeader("Open a new sesssion").setContent("your content").show(true);
</script>
xxx
</center>
</body>
</html>

WORKING (only changed center to xcenter):

<html>
<head>
<script src="js/pt/prototype.js" type="text/javascript"></script>
<script src="js/pt/effects.js" type="text/javascript"></script>
<script src="js/pt/window.js" type="text/javascript"></script>
<script src="js/pt/dialog.js" type="text/javascript"></script>
<link href="themes/window/window.css" rel="stylesheet" type="text/css">
<link href="themes/window/alphacube.css" rel="stylesheet" type="text/css">  
</head>
<body>
<xcenter>
<script>
UI.defaultWM = new UI.WindowManager();
w = new UI.Dialog({shadow: true, top: 10, width: 400, height:100}).center().setHeader("Open a new sesssion").setContent("your content").show(true);
</script>
xxx
</xcenter>
</body>
</html>