Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Control.ToolTip IE6 page load failure

#48

When trying to use Control.ToolTip inside the body IE6 will abort the page load when it reaches the call. It gives an alert with the message 'Internet Explorer cannot open the Internet site http://xxx.com. Operation aborted'. Then goes to the 'page cannot be displayed' error page. Since it switches pages I'm not able to debug the javascript at all. However, I was able to boil it down to this snippet:

<html><head>
<script src="prototype.js" type="text/javascript"></script>
<script src="livepipe.js" type="text/javascript"></script>
<script src="window.js" type="text/javascript"></script>
</head><body>
<div><script>new Control.ToolTip();</script></div>
</body></html>

This is using IE version 6.0.2900.5508. Removing the div tag from around the script no longer creates the error. I also tested Control.Window and found the same issue.

Reported by dmertl · March 9th, 2009 @ 07:12 PM

State: invalid
Milestone: 1.0
Assigned to: Ryan Johnson Ryan Johnson

Activity

  1. Nathan L Smith
    Nathan L Smith
    • State changed from unconfirmed to invalid

    Tooltip tries to insert content into the DOM. Calling the script here gives no guarantee of the DOM being loaded. Put the scripting in a document.observe("dom:loaded", function () { ... });

    Closing ticket.

    May 19th, 2009 @ 04:53 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.