#48 ✓invalid
dmertl

Control.ToolTip IE6 page load failure

Reported by dmertl | March 9th, 2009 @ 07:12 PM | in 1.0

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.

Comments and changes to this ticket

  • Nathan L Smith

    Nathan L Smith May 19th, 2009 @ 04:53 PM

    • 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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/

High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.

People watching this ticket

Pages