http://www.w3.org/TR/REC-html40/struct/global.html#adef-id

read it

Gabriel Gilini

www.usosim.com.br
gabr...@usosim.com.br
gabr...@souagil.com.br


On Thu, Dec 11, 2008 at 5:37 PM, Russell <rkeith2...@gmail.com> wrote:

>
> 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