jQuery.ScrollTo by Ariel Fleslerlua中文开发手册

Table of contents (try these)

Ways to specify the target Click an option, to see it in action

Options The examples shown here, are summarized for brevity, check the source for real code

Note that when 'queue' is true, choosing 'axis' as 'xy' or 'yx' matters

Don't use a hash for the target to scroll only one axis, use the option 'axis' instead. The hash is used to scroll both axes with different positions.