Socket
Socket
Sign inDemoInstall

slider-pro

Package Overview
Dependencies
0
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 1.6.1

26

docs/modules.md

@@ -52,3 +52,3 @@ ## Modules ##

<div class="sp-slide">
<a href="http://bqworks.net">
<a href="https://bqworks.net">
<img class="sp-image" src="path/to/blank.gif" data-src="path/to/image2.jpg"/>

@@ -90,3 +90,3 @@ </a>

<div class="sp-slide">
<a href="http://bqworks.net">
<a href="https://bqworks.net">
<img class="sp-image" src="path/to/blank.gif" data-src="path/to/image2.jpg" data-retina="path/to/image2@2x.jpg"/>

@@ -295,3 +295,3 @@ </a>

The hash that needs to be appended to the URL consists of the 'id' attribute of the slider and the index of the slide separated by a slash character (/). For example, `http://domain.com/page#my-slider/0` will open the first slide (because slide indexes start with 0) in the slider that has the 'id' set to 'my-slider'.
The hash that needs to be appended to the URL consists of the 'id' attribute of the slider and the index of the slide separated by a slash character (/). For example, `https://domain.com/page#my-slider/0` will open the first slide (because slide indexes start with 0) in the slider that has the 'id' set to 'my-slider'.

@@ -320,3 +320,3 @@ It's also possible to specify the 'id' attribute of the slide instead of its index.

In order to open the second slide, you can use either `http://domain.com/page#my-slider/1` or `http://domain.com/page#my-slider/my-slide`.
In order to open the second slide, you can use either `https://domain.com/page#my-slider/1` or `https://domain.com/page#my-slider/my-slide`.

@@ -484,3 +484,3 @@ Customizable properties: [updateHash](api.md#updatehash).

```html
<iframe class="sp-video" src="http://www.youtube.com/embed/msIjWthwWwI?enablejsapi=1&amp;wmode=opaque" width="500" height="350" frameborder="0" allowfullscreen></iframe>
<iframe class="sp-video" src="https://www.youtube.com/embed/msIjWthwWwI?enablejsapi=1&amp;wmode=opaque" width="500" height="350" frameborder="0" allowfullscreen></iframe>
```

@@ -495,3 +495,3 @@

```html
<a class="sp-video" href="http://vimeo.com/109354891">
<a class="sp-video" href="https://vimeo.com/109354891">
<img src="path/to/poster.jpg" width="500" height="300"/>

@@ -506,3 +506,3 @@ </a>

```html
<iframe class="sp-video" src="http://player.vimeo.com/video/109354891?api=1" width="500" height="300" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<iframe class="sp-video" src="https://player.vimeo.com/video/109354891?api=1" width="500" height="300" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
```

@@ -538,3 +538,3 @@

Please note that, in order to use Video.js, you need to load the Video.js JavaScript and CSS files in your page. More information about how to use Video.js, in general, can be found on the [official Video.js page](http://www.videojs.com/).
Please note that, in order to use Video.js, you need to load the Video.js JavaScript and CSS files in your page. More information about how to use Video.js, in general, can be found on the [official Video.js page](https://www.videojs.com/).

@@ -554,3 +554,3 @@ ##### SublimeVideo #####

Please note that, in order to use SublimeVideo, you will also need to load a script in your page which you need to download from the SublimeVideo page. More information about how to use SublimeVideo, in general, can be found on the [official SublimeVideo page](http://www.sublimevideo.net/).
Please note that, in order to use SublimeVideo, you will also need to load a script in your page which you need to download from the SublimeVideo page. More information about how to use SublimeVideo, in general, can be found on the [official SublimeVideo page](https://www.sublimevideo.net/).

@@ -570,4 +570,4 @@ ### JW Player ###

jwplayer("my-video").setup({
file: "http://bqworks.net/products/assets/videos/bbb/bbb-trailer.mp4",
image: "http://bqworks.net/products/assets/videos/bbb/bbb-poster.jpg",
file: "https://bqworks.net/products/assets/videos/bbb/bbb-trailer.mp4",
image: "https://bqworks.net/products/assets/videos/bbb/bbb-poster.jpg",
width: 500,

@@ -593,4 +593,4 @@ height: 350

jwplayer("my-video").setup({
file: "http://bqworks.net/products/assets/videos/bbb/bbb-trailer.mp4",
image: "http://bqworks.net/products/assets/videos/bbb/bbb-poster.jpg",
file: "https://bqworks.net/products/assets/videos/bbb/bbb-trailer.mp4",
image: "https://bqworks.net/products/assets/videos/bbb/bbb-poster.jpg",
width: 500,

@@ -597,0 +597,0 @@ height: 350,

@@ -32,2 +32,3 @@ module.exports = function(grunt) {

'src/js/jquery.sliderPro.keyboard.js',
'src/js/jquery.sliderPro.mouseWheel.js',
'src/js/jquery.sliderPro.fullScreen.js',

@@ -34,0 +35,0 @@ 'src/js/jquery.sliderPro.buttons.js',

{
"name": "slider-pro",
"description": "Responsive jQuery slider, featuring modular architecture, CSS3 animations, touch swipe, animated layers, retina, lazy loading and much more.",
"version": "1.6.0",
"homepage": "http://bqworks.net/slider-pro/",
"version": "1.6.1",
"homepage": "https://bqworks.net/slider-pro/",
"main": "./dist/js/jquery.sliderPro.js",
"author": {
"name": "bqworks",
"url": "http://bqworks.net/"
"url": "https://bqworks.net/"
},

@@ -14,3 +14,3 @@ "contributors": [

"name": "David Ghiurau",
"email": "david.ghiurau@gmail.com"
"email": "contact@bqworks.net"
}

@@ -31,7 +31,7 @@ ],

"devDependencies": {
"grunt": "~1.4.0",
"grunt": "~1.5.3",
"grunt-contrib-concat": "~1.0.1",
"grunt-contrib-jshint": "~3.0.0",
"grunt-contrib-cssmin": "~4.0.0",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-uglify": "~5.0.0",
"grunt-contrib-cssmin": "~4.0.0",
"grunt-contrib-watch": "~1.1.0"

@@ -38,0 +38,0 @@ },

@@ -1,5 +0,7 @@

# [Slider Pro - jQuery slider plugin](http://bqworks.net/slider-pro/) #
# [Slider Pro - jQuery slider plugin](https://bqworks.net/slider-pro/) #
>A modular, responsive and touch-enabled jQuery slider plugin that enables you to create elegant and professionally looking sliders.
A modular, responsive and touch-enabled jQuery slider plugin that enables you to create elegant and professionally looking sliders.
>The slider is also available in [Vanilla JavaScript](https://github.com/bqworks/slider-pro-js) and as a [WordPress plugin](https://wordpress.org/plugins/sliderpro/).
Main features:

@@ -27,3 +29,3 @@

Check the plugin's [presentation page](http://bqworks.net/slider-pro/) for examples and more details of the available features.
Check the plugin's [presentation page](https://bqworks.net/slider-pro/) for examples and more details of the available features.

@@ -55,3 +57,3 @@ ## Getting started ##

```html
<script src="libs/js/jquery-1.11.0.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.2.min.js"></script>
<script src="dist/js/jquery.sliderPro.min.js"></script>

@@ -131,6 +133,6 @@ ```

If you need help with implementing the slider in your project, I recommend using [Stack Overflow](http://stackoverflow.com/questions/tagged/slider-pro) instead of the Issues tracker.
If you need help with implementing the slider in your project, I recommend using [Stack Overflow](https://stackoverflow.com/questions/tagged/slider-pro) instead of the Issues tracker.
## License ##
The plugin is available under the <a href="http://opensource.org/licenses/MIT">MIT license</a>.
The plugin is available under the <a href="https://opensource.org/licenses/MIT">MIT license</a>.

@@ -1,2 +0,2 @@

;(function(window, $) {
;( function( window, $ ) {

@@ -14,3 +14,3 @@ "use strict";

if (this.settings.mouseWheel === false) {
if ( this.settings.mouseWheel === false ) {
return;

@@ -20,13 +20,13 @@ }

// get the current mouse wheel event used in the browser
if ('onwheel' in document) {
if ( 'onwheel' in document ) {
this.mouseWheelEventType = 'wheel';
} else if ('onmousewheel' in document) {
} else if ( 'onmousewheel' in document ) {
this.mouseWheelEventType = 'mousewheel';
} else if ('onDomMouseScroll' in document) {
} else if ( 'onDomMouseScroll' in document ) {
this.mouseWheelEventType = 'DomMouseScroll';
} else if ('onMozMousePixelScroll' in document) {
} else if ( 'onMozMousePixelScroll' in document ) {
this.mouseWheelEventType = 'MozMousePixelScroll';
}
this.on(this.mouseWheelEventType + '.' + NS, function(event) {
this.on( this.mouseWheelEventType + '.' + NS, function( event ) {
event.preventDefault();

@@ -38,11 +38,11 @@

// get the movement direction and speed indicated in the delta property
if (typeof eventObject.detail !== 'undefined') {
if ( typeof eventObject.detail !== 'undefined' ) {
delta = eventObject.detail;
}
if (typeof eventObject.wheelDelta !== 'undefined') {
if ( typeof eventObject.wheelDelta !== 'undefined' ) {
delta = eventObject.wheelDelta;
}
if (typeof eventObject.deltaY !== 'undefined') {
if ( typeof eventObject.deltaY !== 'undefined' ) {
delta = eventObject.deltaY * -1;

@@ -62,7 +62,7 @@ }

destroyMouseWheel: function() {
this.off(this.mouseWheelEventType + '.' + NS);
this.off( this.mouseWheelEventType + '.' + NS );
},
mouseWheelDefaults: {
mouseWheel: true
mouseWheel: false
}

@@ -73,2 +73,2 @@ };

})(window, jQuery);
})( window, jQuery );

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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