I've been developing a new website at http://www.glug.co.uk/, and have
tested it in several PC browsers (Netscape, Firefox, IE6, IE5.5).
However, a couple of my users report that whenever they access the
site using IE for Macintosh (OS X), they get a popup dialog box which
says "Unable to remove handler". When they click on OK, the page
appears to be displayed correctly, but the dialog box appears whenever
the page is refreshed, and on the majority of pages on the website.
I need to know what it is that is causing this, and how to cure it. |
Request for Question Clarification by
jackburton-ga
on
04 Aug 2004 06:00 PDT
I get a similar message - "Handler could not be removed".
It seems the problem is caused by the sortable.js script.
The problem is discussed here:
http://www.creativeireland.com/forum/ubb/Forum1/HTML/002411.html
dottie offers this solution:
_________________________________________
I think it might work now if you replace the function in the
Javascript with this hacked one, which will really only work if you
are adding one event to the window.onload handler. I could hack it
futher to allow multiple events but I only need the one - if anyone
wants more let me know....
function addEvent(elm, evType, fn, useCapture)
// addEvent and removeEvent
// cross-browser event handling for IE5+, NS6 and Mozilla
// By Scott Andrew
{
if (elm.addEventListener){
elm.addEventListener(evType, fn, useCapture);
return true;
} else if (elm.attachEvent){
var r = elm.attachEvent("on"+evType, fn);
return r;
} else {
// last ditch attempt
eval('window.on' + evType + ' = ' + fn );
//alert("Handler could not be removed");
}
}
_________________________________________
Let me know if that works.
|