Hi there!
I had some problems putting mouse events to work on IE6 some days ago. After googling a bit I found this solution:
This works fine, and solves me the annoying thing of IE assuming the event, but not doing anythingwith it when I pass it like this
Don´t know if it´s common thing on IE6 or just my "noobity", but it didn´t work...
My question now is how can I remove the event using my approach. I´m passing an empty function, but IE is not liking it...
Any suggestions would be greatly appreciated.
Thanks in advance,
Nibbus
I had some problems putting mouse events to work on IE6 some days ago. After googling a bit I found this solution:
Code:
function addOnMouseOver(obj, id) { obj.onmouseover = function() { changeProcessOpacity(id); }; obj = null; }
Code:
obj.setAttribute('onmouseover', "changeProcessOpacity(id);");
My question now is how can I remove the event using my approach. I´m passing an empty function, but IE is not liking it...
Any suggestions would be greatly appreciated.
Thanks in advance,
Nibbus
Comment