Submit your widget

page-scroll-to-id - 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 hash are clicked, by

Created 5 years ago   Views 1746   downloads 951    Author malihu
View DemoDownload
15
Share |

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.)

Bower: bower install page-scroll-to-id

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

jQuery version 1.6.0 or higher

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

MIT License (MIT)

http://opensource.org/licenses/MIT

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