I have a table with 12 rows with an id of row.  The following code
works great for the first row but not the following rows.  How can I
make this work without creating both entries 12 times.

<script type="text/javascript">
Event.observe(window, 'load', function() {
        $('row').observe( 'mouseover', function(event) { $('row').addClassName
('hover'); });
        $('row').observe( 'mouseout', function(event) { $
('row').removeClassName('hover'); });
});
--~--~---------~--~----~------------~-------~--~----~
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