Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scrollnav

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrollnav - npm Package Compare versions

Comparing version 2.6.0 to 2.7.1

dist/jquery.scrollnav.js

9

CHANGELOG.md

@@ -15,2 +15,11 @@ # Changelog

## v2.7.1 - February 18, 2015
* Fixed package.json
## v2.7.0 - February 11, 2015
* Add `activeClass` setting for custom styles
* Add `__focused-section` when a section is scrolled to
## v2.6.0 - February 19, 2015

@@ -17,0 +26,0 @@

9

package.json
{
"name": "scrollnav",
"version": "2.6.0",
"version": "2.7.1",
"title": "scrollNav",

@@ -24,3 +24,6 @@ "author": {

},
"main": "./dist/jquery.scrollNav.min.js",
"files": [
"dist"
],
"main": "dist/jquery.scrollNav.min.js",
"bugs": "https://github.com/jimmynotjim/scrollNav/issues",

@@ -51,2 +54,2 @@ "licenses": [

}
}
}

@@ -157,2 +157,3 @@ [![build status](https://secure.travis-ci.org/jimmynotjim/scrollNav.png?branch=master)](http://travis-ci.org/jimmynotjim/scrollNav.js)

insertLocation: 'insertBefore',
activeClass: 'active',
arrowKeys: false,

@@ -226,2 +227,6 @@ scrollToHash: true,

### Active Class
By default, scrollNav will use the class `".active"` to indicate which nav item is currently in view. If you need a different class name, add it here.
### Scroll to hash

@@ -233,3 +238,3 @@

There are three new callback functions that you can utilize to accomodate anything you need to run after specific scrollNav events. They are `onInit`, `onRender`, and `onDestroy`. Add them to your options just like any other and they should look like this:
There are three new callback functions that you can utilize to accommodate anything you need to run after specific scrollNav events. They are `onInit`, `onRender`, and `onDestroy`. Add them to your options just like any other and they should look like this:

@@ -258,3 +263,3 @@ ```

Latest stable version is v2.6.0. Make sure to view [the changelog][15] before updating, v2 is a complete re-write of the plugin.
Latest stable version is v2.7.1. Make sure to view [the changelog][15] before updating, v2 is a complete re-write of the plugin.

@@ -292,4 +297,5 @@ ## Testing

* [MeghdadHadidi (@MeghdadHadidi)][13]
* [Marc Amos (@marcams)][23]
* [Marc Amos (@marcamos)][23]
* [Felix Borzik (@Borzik)][24]
* [Masud Rahman (@frutiger)][25]

@@ -320,4 +326,2 @@ [1]: http://scrollnav.com

[24]: http://github.com/borzik
[25]: http://github.com/frutiger
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc