On Sábado, 22 de Agosto de 2009 04:09:24 tailormade escribió:
> I want to have a javascript method called when the user moves the
> mouse over a row in the list. In normal rails I can do that using
> OnMouseOver on either the td or tr for the row.
>
> Is there a way to do this using ActiveScaffold?

You can override the view to add the onmouseover to the tag, or attach the 
event with javascript on page load, like Event.observe(tr_id, 'mouseover', 
function_name)

>
> 
-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • OnMouseOver tailormade
    • Re: OnMouseOver Sergio Cambra .:: entreCables S.L. ::.

Reply via email to