Skip to content

Commit

Permalink
== 1.9.4 ==
Browse files Browse the repository at this point in the history
* New option: navSpeed
  • Loading branch information
nicolafranchini committed Nov 16, 2021
1 parent 6399553 commit 32c5808
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ $(document).ready(function(){

## Documentation

The full documentation is available at http://veno.es/venobox/
The full documentation is available at https://veno.es/venobox/

License: released under the MIT License
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "venobox",
"version": "1.9.3",
"version": "1.9.4",
"authors": [
"Nicola Franchini"
],
Expand All @@ -16,7 +16,7 @@
"popup"
],
"license": "MIT License",
"homepage": "http://veno.es/venobox/",
"homepage": "https://veno.es/venobox/",
"ignore": [
"**/.*",
"node_modules",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nicolafranchini/venobox",
"description": "Responsive jQuery modal window plugin",
"version": "1.9.3",
"version": "1.9.4",
"keywords": [
"lightbox",
"responsive",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "venobox",
"version": "1.9.3",
"version": "1.9.4",
"description": "Responsive jQuery modal window plugin",
"main": "venobox/venobox.min.js",
"style": [
Expand All @@ -25,7 +25,7 @@
"jquery-plugin",
"ecosystem:jquery"
],
"author": "Nicola Franchini (http://veno.es/)",
"author": "Nicola Franchini (https://veno.es/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/nicolafranchini/VenoBox/issues"
Expand Down
45 changes: 22 additions & 23 deletions venobox/venobox.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
/*
/**
* VenoBox - jQuery Plugin
* version: 1.9.3
* version: 1.9.4
* Copyright 2013-2021 Nicola Franchini - @nicolafranchini
* @license: https://github.com/nicolafranchini/VenoBox/blob/master/LICENSE
*/
/**
* License: MIT License
* @requires jQuery >= 1.7.0
*
* Examples at http://veno.es/venobox/
* License: MIT License
* License URI: https://github.com/nicolafranchini/VenoBox/blob/master/LICENSE
* Copyright 2013-2021 Nicola Franchini - @nicolafranchini
*
*/

/* global jQuery */

(function($){
"use strict";
var autoplay, bgcolor, blockleft, blocknum, blockshare, blocktitle, border, core, container, content, dest, extraCss,
Expand All @@ -32,32 +31,33 @@
var plugin = this;
// default options
var defaults = {
arrowsColor : '#B6B6B6',
arrowsColor: '#B6B6B6',
noArrows: false,
autoplay : false, // same as data-autoplay - thanks @codibit
bgcolor: '#fff',
border: '0',
closeBackground : 'transparent',
closeColor : "#d2d2d2",
closeColor: "#d2d2d2",
framewidth: '',
frameheight: '',
gallItems: false,
infinigall: false,
htmlClose : '×',
htmlNext : '<span>Next</span>',
htmlPrev : '<span>Prev</span>',
htmlClose: '&times;',
htmlNext: '<span>Next</span>',
htmlPrev: '<span>Prev</span>',
navSpeed: 500,
numeratio: false,
numerationBackground : '#161617',
numerationColor : '#d2d2d2',
numerationPosition : 'top', // 'top' || 'bottom'
numerationBackground: '#161617',
numerationColor: '#d2d2d2',
numerationPosition: 'top', // 'top' || 'bottom'
overlayClose: true, // disable overlay click-close - thanx @martybalandis
overlayColor : 'rgba(23,23,23,0.85)',
spinner : 'double-bounce', // available: 'rotating-plane' | 'double-bounce' | 'wave' | 'wandering-cubes' | 'spinner-pulse' | 'chasing-dots' | 'three-bounce' | 'circle' | 'cube-grid' | 'fading-circle' | 'folding-cube'
overlayColor: 'rgba(23,23,23,0.85)',
spinner: 'double-bounce', // available: 'rotating-plane' | 'double-bounce' | 'wave' | 'wandering-cubes' | 'spinner-pulse' | 'chasing-dots' | 'three-bounce' | 'circle' | 'cube-grid' | 'fading-circle' | 'folding-cube'
spinColor : '#d2d2d2',
titleattr: 'title', // specific attribute to get a title (e.g. [data-title]) - thanx @mendezcode
titleBackground: '#161617',
titleColor: '#d2d2d2',
titlePosition : 'top', // 'top' || 'bottom'
titlePosition: 'top', // 'top' || 'bottom'
share: [], // ['facebook', 'twitter', 'linkedin', 'pinterest', 'download']
cb_pre_open: function(){ return true; }, // Callbacks - thanx @garyee
cb_post_open: function(){},
Expand Down Expand Up @@ -466,7 +466,7 @@

content.animate({
opacity : 0,
}, 500, function(){
}, option.navSpeed, function(){

overlay.css('background',overlayColor);

Expand Down Expand Up @@ -788,11 +788,10 @@
updateOL();

content.animate({
'opacity': '1'
},'slow', function(){
opacity: 1
}, option.navSpeed, function(){
$preloader.hide();
});

option.cb_content_loaded(obj, gallIndex, thenext, theprev);
}

Expand Down
Loading

0 comments on commit 32c5808

Please sign in to comment.