🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

scrollTip is a lightweight jQuery plugin that generates a tooltip-style table of contents next to the scrollbar to indicate your position on the page as you scroll.

Table-of-Contents

Documentation

jQuery-scrollTip

A simple Table-of-Contents plugin that indicates where on your scrollbar a set of elements are.

Usage:

Default settings:

jQuery("h1, h2").scrollTip();

Changing the timing:

jQuery("h2").scrollTip({   fadeDuration : 300, //How long it takes to fade in/out   sleepDuration : 2000, //How long to show the tooltip before hiding it again });

If your scrollbar is limited to a certain container instead of the <body>:

jQuery("h2").scrollTip({   scrollbar : '#scrollContainer', });

Demo


You May Also Like