Hi all,

I meant to reply to the "Effect.Highlight and :hover stops working?"
topic
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/0c4daab49d7a6d85#
but it is closed already.

Anyway, for the record, it seems that while the workaround given in
the above thread worked for Safari and Firefox, it did not seem to
work for IE6. To get it to work across browsers (at least Firefox and
IE), only a small change needed: use "backgroundColor" instead of
"background":

var element = $('....');
element.highlight({ afterFinish: function(effectObject) {
   effectObject.element.style.backgroundColor = "";
}});

PS: I guess this is related to bug the following bug:
http://prototype.lighthouseapp.com/projects/8887/tickets/11-remove-inline-style-on-element-when-effect-highlight-finishes


--
Yves-Eric

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to