Scrolling to the Top of your Facebook App Canvas

For standard web page, you can use anchor point for jump to a particular section of your page.  However, this won’t work for Canvas app (at least for some browsers) as your page is wrapped within an iframe when it is displayed as a Facebook canvas app.

To perform the scrolling, you should use the


method in the JavaScript SDK.

For details, see JavaScript SDK documentation.

About takwing

A moderator of the Official Facebook Developer Forum.
This entry was posted in Development Tips and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *