My app uses "zebra" table. Each "tr" have a checkbox, when the
checkbox is checked, the morph effect is enabled

css:
    .checked {font-weight: bold; background:#fb5126; color:#fff;}

zebra:

<tr id="tr-577" class="">
</tr>
<tr id="tr-587" class="fundo">
</tr>
<tr id="tr-592" class="">


with a checked:

<tr id="tr-577" class="">
</tr>
<tr id="tr-587" class="fundo checked">
</tr>
<tr id="tr-592" class="">

To ensure the original color of the zebra, i remove the "checked"
class

$('tr').morph('checked') function to add effect, but.. and the
remove???

I just know:

$('tr').removeClassName('checked');
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to