On 31.10.2008, at 15.55, Hector Virgen wrote:

> Try using Element#scrollTo
>
> http://prototypejs.org/api/element/scrollto
>
> $('content').scrollTo();

Also note that MySpace apps are sitting within an iframe, which makes  
life a helluva lot harder in many cases. Wouldn't be surprised if it  
threw a curveball in this case as well. Don't know if scrollTo is able  
to scroll the containing page or not when it is called from an iframe.

//jarkko

--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://odesign.fi

Check out my latest book, Unobtrusive Prototype, fresh off the  
Peepcode oven:
http://peepcode.com/products/unobtrusive-prototype-js


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to