Ian Tyndall wrote:
> Take a look at:
>
> http://wiki.script.aculo.us/scriptaculous/show/Element.scrollTo
>

Thanks, I've tried it in my page but can't seem to get it to work.

I add this to the head my page right?


<script
type="text/javascript">Element.scrollTo('id_target_object');</script>


As well as:

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js"></script>


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

Reply via email to