jquery.nicescroll
Advanced tools
Comparing version 3.6.8 to 3.7.4
{ | ||
"name": "jquery.nicescroll", | ||
"version": "3.6.8", | ||
"bugs": "http://github.com/inuyaksa/jquery.nicescroll/issues", | ||
"version": "3.7.4", | ||
"bugs": "https://github.com/inuyaksa/jquery.nicescroll/issues", | ||
"repository": { | ||
@@ -14,5 +14,3 @@ "type": "git", | ||
}, | ||
"licenses": [ | ||
"MIT" | ||
], | ||
"license": "MIT", | ||
"autoupdate": { | ||
@@ -26,3 +24,3 @@ "source": "git", | ||
}, | ||
"description": "Nicescroll is a jquery plugin, for nice customizabled scrollbars with a very similar ios/mobile style. It supports DIVs, IFrames and document page (body) scrollbars. Compatible with Firefox 4+, Chrome 5+, Safari 4+ (win/mac), Opera 10+, IE 6+ (all A-grade browsers). Compatible with iOS devices as iPad, Android, Blackberry, Windows Phone, and many many mobile and touch devices.", | ||
"description": "Nicescroll is a jquery plugin, for nice customizabled scrollbars with a very similar ios/mobile style. It supports DIVs, IFrames and document page (body) scrollbars. Compatible with modern browsers Chrome/Firefox/Edge/Safari/Opera for smartphone ios/android and desktop pc/mac: iphone/ipad/ipod, android, surface, pc (chrome/firefox) mac (safari/chrome). Compatibile with older browers too, such as IE11/10/9, some limitations could exists.", | ||
"keywords": [ | ||
@@ -43,3 +41,8 @@ "nicescroll", | ||
"touch", | ||
"android" | ||
"android", | ||
"chrome", | ||
"firefox", | ||
"safari", | ||
"surface", | ||
"edge" | ||
], | ||
@@ -64,5 +67,5 @@ "homepage": "https://github.com/inuyaksa/jquery.nicescroll", | ||
"files": [ | ||
"jquery.nicescroll.js", | ||
"jquery.nicescroll.min.js", | ||
"zoomico.png" | ||
"dist/jquery.nicescroll.js", | ||
"dist/jquery.nicescroll.min.js", | ||
"dist/zoomico.png" | ||
], | ||
@@ -73,4 +76,3 @@ "main": "jquery.nicescroll.js", | ||
}, | ||
"devDependencies": {}, | ||
"npmName": "nicescroll", | ||
"npmName": "jquery.nicescroll", | ||
"npmFileMap": [ | ||
@@ -77,0 +79,0 @@ { |
@@ -1,5 +0,7 @@ | ||
#jQuery.NiceScroll | ||
v. 3.6.8 02-29-2016 | ||
# jQuery.NiceScroll | ||
v. 3.7.4 | ||
- [Web Site: nicescroll.areaaperta.com](http://nicescroll.areaaperta.com) | ||
## The best nicescroll release ever - extremely smooth and consistent in modern browsers and mobile devices, with low resource usage | ||
- [Web Site: nicescroll.areaaperta.com](https://nicescroll.areaaperta.com) | ||
- [Repo: github.com/inuyaksa/jquery.nicescroll](https://github.com/inuyaksa/jquery.nicescroll) | ||
@@ -17,4 +19,4 @@ - [Twitter: @nicescroll](https://twitter.com/nicescroll) | ||
- It supports DIVs, IFrames, textarea, and document page (body) scrollbars. | ||
- Compatible with all desktop browser: Firefox 4+, Chrome 5+, Safari 4+ (win/mac), Opera 10+, IE 6+. (all A-grade browsers) | ||
- Compatible with mobile device: iPad/iPhone/iPod, Android 2.2+, Blackberry phones and Playbook (WebWorks/Table OS), Windows Phone 7.5 Mango. | ||
- Compatible with all recent desktop browser and older: Chrome, Firefox, Edge, IE8+, Safari (win/mac), Opera. (all A-grade browsers) | ||
- Compatible with mobile device: iPad/iPhone/iPod, Android 4+, Blackberry phones and Playbook (WebWorks/Table OS), Windows Phone 8 and 10. | ||
- Compatible with all touch devices: iPad, Android tablets, Window Surface. | ||
@@ -24,3 +26,3 @@ - Compabible with multi-input device (mouse with touch or pen): Window Surface, Chrome Desktop on touch notebook. | ||
So you have scrollable divs with momentum for iPad 4+ and you have consistent scrollable areas for all desktop and mobile platforms. | ||
So you have customizable and scrollable divs with momentum for iPad and you have consistent scrollable areas for all desktop and mobile platforms. | ||
@@ -37,4 +39,3 @@ Sexy zoom feature, you can "zoom-in" the content of any nicescroll'ed div. | ||
Warning for IE6 users (why do you uses IE6 yet? Please updgrade to a more stable and modern browser), some feature can't work for limitation of the browser. | ||
Document (body) scrollbars can't appears, old (native browser) one is used. Some issues with IFrame scrolling. | ||
Warning for IE6/7 users (why do you uses yet? Please updgrade to a more stable and modern browser), support for your browser has deprecated. | ||
@@ -46,3 +47,3 @@ | ||
- very stylish scrollbars, with no occupation on your window (original browser scrollbars need some of page space and reduces window/div usable width) | ||
- you can style main document scrollbar (body) too!! (not all script implements this feature) | ||
- you can style main document scrollbar (body) too!! (not all device/browser support this feature) | ||
- on all browsers you can scroll: dragging the cursor, mouse wheel (speed customizable), keyboard navigation (cursor keys, pagup/down keys, home/end keys) | ||
@@ -56,5 +57,5 @@ - scroll is smooth (as modern tablet browsing), speed is customizable | ||
- support for touch devices | ||
- support for multi-input devices (IE10 with MSPointer) | ||
- compatible with many other browsers, including IE6, Safari on Mac and WP7 Mango! | ||
- very customizable aspect of bar | ||
- support for multi-input devices (MSPointer/Pointer support) | ||
- compatible with many other browsers and webkit derivated! | ||
- scrollbar has a lot a customizable features | ||
- native scroll events are working yet | ||
@@ -67,3 +68,3 @@ - fully integrated with jQuery | ||
>> It's a plugin for the jquery framework, you need to include jquery in your scripts. | ||
>> From 1.5.x version and on. (I'd better to use 1.8.3+ minimum) | ||
>> it works with jQuery 1.x / 2.x / 3.x branch (slim version don't works) | ||
@@ -76,3 +77,3 @@ | ||
Copy image "zoomico.png" in the same folder of jquery.nicescroll.js. | ||
When you use zoom feature, copy image "zoomico.png" in the same folder of jquery.nicescroll.js. | ||
@@ -85,3 +86,3 @@ | ||
// 1. Simple mode, it styles document scrollbar: | ||
$(document).ready(function() { | ||
$(function() { | ||
$("html").niceScroll(); | ||
@@ -92,3 +93,3 @@ }); | ||
var nice = false; | ||
$(document).ready(function() { | ||
$(function() { | ||
nice = $("html").niceScroll(); | ||
@@ -98,3 +99,3 @@ }); | ||
// 3. Style a DIV and chage cursor color: | ||
$(document).ready(function() { | ||
$(function() { | ||
$("#thisdiv").niceScroll({cursorcolor:"#00F"}); | ||
@@ -104,3 +105,3 @@ }); | ||
// 4. DIV with "wrapper", formed by two divs, the first is the vieport, the latter is the content: | ||
$(document).ready(function() { | ||
$(function() { | ||
$("#viewportdiv").niceScroll("#wrapperdiv",{cursorcolor:"#00F"}); | ||
@@ -134,6 +135,7 @@ }); | ||
cursorborderradius: "5px", // border radius in pixel for cursor | ||
zindex: "auto" | <number>, // change z-index for scrollbar div | ||
zindex: "auto" | [number], // change z-index for scrollbar div | ||
scrollspeed: 60, // scrolling speed | ||
mousescrollstep: 40, // scrolling speed with mouse wheel (pixel) | ||
touchbehavior: false, // enable cursor-drag scrolling like touch devices in desktop computer | ||
touchbehavior: false, // DEPRECATED!! use "touchemulate" | ||
emulatetouch: false, // enable cursor-drag scrolling like touch devices in desktop computer | ||
hwacceleration: true, // use hardware accelerated scroll when supported | ||
@@ -180,3 +182,5 @@ boxzoom: false, // enable zoom for box content | ||
preventmultitouchscrolling: true // prevent scrolling on multitouch events | ||
disablemutationobserver: false // force MutationObserver disabled | ||
disablemutationobserver: false // force MutationObserver disabled, | ||
enableobserver: true // enable DOM changing observer, it tries to resize/hide/show when parent or content div had changed | ||
scrollbarid: false // set a custom ID for nicescroll bars | ||
}); | ||
@@ -192,5 +196,6 @@ ``` | ||
## Copyright 2011-16 InuYaksa | ||
## Copyright 2011-17 InuYaksa | ||
######Licensed under the MIT License, http://www.opensource.org/licenses/mit-license.php | ||
######Images used for zoom icons have derived from OLPC interface, http://laptop.org/8.2.0/manual/Browse_ChangingView.html | ||
###### Licensed under the MIT License, http://www.opensource.org/licenses/mit-license.php | ||
###### Images used for zoom icons have derived from OLPC interface, http://laptop.org/8.2.0/manual/Browse_ChangingView.html |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
319488
6
6097
188
1