/jquery-nowspy

jQuery implementation of the Google Now scrollspy

Primary LanguageJavaScript

jquery-nowspy

Description

A scrollspy plugin that mimics the behavior of Google Now's Android search box. The scrollspy only kicks in once the spying element is outside the viewport, and the viewport is scrolled up. The element will be returned to its original position when the viewport allows it.

Usage

$("#menu").nowspy();

the class .spying is added to the spying element when its outside its original position