I’ve got a Facebook iFrame application happily up and running, but I’m realizing that I don’t have a way to handle the scroll position of the parent frame because of cross-domain issues. If a user clicks too far down on the page, I can’t pop them back up to the top.
Has anyone had an luck with either any of the Facebook JS libraries or other JavaScript trickery to pull this off?
Thanks!
Facebook added the FB.Canvas.scrollTo method to the new JavaScript SDK on April 2011:
http://developers.facebook.com/docs/reference/javascript/FB.Canvas.scrollTo/