Hi justin,

On 25 Sep., 23:09, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> That is happening because the background color of the row is set with
> inline CSS to be the original background color when the highlight
> effect is complete. Inline CSS always has priority over CSS in the
> stylesheet. Maybe you can try using the !important declaration to
> override it?

I had thought of that, unfortunately the !important declaration does
not have any effect.

I tried to "manually" remove the background style from the element by
changing the script to

<script type="text/javascript">
    new Effect.Highlight('itemHighlight');
    $('itemHighlight').setStyle({background-color:;});
</script>

but then the highlight effect is suppressed. So my next thought was to
delay the clear of that style just as long so the effect has
terminated already with:

<script type="text/javascript">
    new Effect.Highlight('itemHighlight');
    setTimeout("$('itemHighlight').setStyle({background-color:;})",
3000);
</script>

But no luck either :-(
--~--~---------~--~----~------------~-------~--~----~
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