Smooth Scrolling For Any Element With jQuery

Post pobrano z: Smooth Scrolling For Any Element With jQuery


Arbitrary.Anchor.js is a jQuery plugin that extends the standard anchor functionality (linking with #).

It enables us to target not only ids but any jQuery selector (like classes or element types).

Also, complex selectors can be used as well. (like http://example.com#.sup.brah – that needs to match both of the classes).

jQuery Arbitrary Anchors

The clicked links are automatically scrolled with a smooth scrolling effect.

And, this scrolling behavior’s speed can be customized by adding the ms value to the link (like http://example.com#.sup.brah|100).Advertisements:
ioDeck, a self-hosted and awesome PHP form generator.
Professional XHTML Admin Template ($15 Discount With The Code: WRD.)
SSLmatic – Cheap SSL Certificates (from $19.99/year)

Dodaj komentarz