1.6.8 • Published 3 years ago

page-scroll-to-id v1.6.8

Weekly downloads
328
License
MIT
Repository
github
Last release
3 years ago

Page scroll to id

Page scroll to id is an easy-to-use jQuery plugin that enables animated page scrolling to specific id within the document. The plugin replaces the default browser behaviour of "jumping" to page sections when links with href value containing # are clicked, by smoothly animating the page to those sections (see demo). Features include:

  • Auto-adjustable animation speed
  • Advanced animation easings
  • Vertical and/or horizontal scrolling
  • Links and targets highlighting via ready-to-use classes
  • Auto-adjustable Scroll-to position
  • Advanced scroll-to position offset (by pixels, by element selector, link specific offsets etc.)

Installation

Bower: bower install page-scroll-to-id

npm: npm install page-scroll-to-id

Usage

$("a[href*='#']").mPageScroll2id();

For more information

Requirements

jQuery version 1.7.0 or higher

Browser compatibility

  • Internet Explorer 8+
  • Firefox 3.5+
  • Chrome
  • Opera
  • Safari 4+
  • iOS
  • Android
  • Windows Phone

License

MIT License (MIT)

http://opensource.org/licenses/MIT

Donate

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UYJ5G65M6ZA28

1.6.8

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.5

4 years ago

1.6.4

4 years ago

1.6.3

5 years ago

1.6.2

5 years ago

1.5.9

6 years ago

1.5.8

7 years ago

1.5.7

7 years ago

1.5.6

7 years ago

1.5.5

8 years ago

1.5.4

10 years ago