Overview

ScrollToMe

A plugin for jQuery that scrolls the viewport to a given element or offset.

(c) 2013 kristofer_

Released under CreativeCommons Attribution 3.0 Unported (CC BY 3.0) http://creativecommons.org/licenses/by/3.0/

Description:

ScrollToMe is jQuery plugin that scrolls the viewport to a given element or a given offset.

Homepage:

https://bitbucket.org/kristofer_/scrolltome

Source:

Hosted at BitBucket; browse at:

https://bitbucket.org/kristofer_/scrolltome

Or clone from:

git clone https://kristofer_@bitbucket.org/kristofer_/scrolltome.git

Usage:

$('.whatever').scrolltome()

will scroll to the first element with class 'whatever'

$().scrolltome(0)

Will scroll to to the top of the page, same as http://api.jquery.com/scrollTop/

Documentation:

Defaults to scroll to top.

A note on forking:

By forking this project you hereby grant permission for any commits to your fork to be merged back into this repository and, with attribution, be released under the terms of the CC BY 3.0 license.