I'm trying to loop through some divs with id="top-buttons" and setup a
mouseover event but I can't seem to get any action. Here's the code:
$$("div.top-buttons").each(function(element) {
observe("mouseover", function(event) {
alert("T")
});
});
running on FireFox on linux with firebug and I don't get any errors
but zippo results
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---