FB.CanvasClient.scrollTo

Description

Scroll the document of the canvas host to specified position

Signature

scrollTo(Number x,  Number y,  Function callback)

Parameters

xNumber
yNumber
callbackFunction

Callback made upon receiving a serverside reply. This may be null.

Note: You should avoid specifying a callback function unless you care to know when the operation completes, because it will require an extra cross domain message to send the operation complete information.

callback should be a function with no parameters.