Socket
Socket
Sign inDemoInstall

jquery.localscroll

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jquery.localscroll

Animated anchor navigation made easy with jQuery


Version published
Maintainers
1
Install size
13.6 kB
Created

Readme

Source

jQuery.localScroll

Animated anchor navigation made easy with jQuery

Demo

You can check the demo to see the plugin in action.

Installation and usage

Via bower:

bower install jquery.localScroll

Via npm:

npm install jquery.localscroll

Using a public CDN

CDN provided by jsdelivr

<script src="//cdn.jsdelivr.net/jquery.localscroll/1.4.0/jquery.localScroll.min.js"></script>

CDN provided by cdnjs (outdated)

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-localScroll/1.3.5/jquery.localScroll.min.js"></script>

Downloading Manually

You can get the latest stable version from the releases page.

Demo

You can see the plugin in a (somewhat precarious) demo page.

jQuery.scrollTo

This plugin requires jQuery.scrollTo. In order to use jQuery.scrollTo 2.0 you need to update jQuery.localScroll to 1.4.0 and above.

Notes

  • The hash of settings is passed in to jQuery.scrollTo, so, in addition to jQuery.localScroll's settings, you can use any of jQuery.scrollTo's. Check that plugin's documentation for further information.

  • If you want to convert the links from ALL over the page, with the same settings, just call $.localScroll(...) instead of $(...).localScroll(...)

  • Most of this plugin's defaults, belong to jQuery.scrollTo, check it's demo for an example of each option.

Keywords

FAQs

Last updated on 09 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc