File tree Expand file tree Collapse file tree 5 files changed +121
-113
lines changed Expand file tree Collapse file tree 5 files changed +121
-113
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ $( '.swipebox' ).swipebox();
6161``` javascript
6262useCSS : true , // false will force the use of jQuery for animations
6363initialIndexOnArray: 0 , // which image index to init when a array is passed
64+ hideBarsOnMobile : true , // false will show the caption and navbar on mobile devices
6465hideBarsDelay : 3000 , // 0 to always show caption and action bar
6566videoMaxWidth : 1140 , // videos max width
6667beforeOpen : function (){} , // called before opening
Original file line number Diff line number Diff line change 11{
22 "name" : " swipebox" ,
3- "version" : " 1.2.8 " ,
3+ "version" : " 1.2.9 " ,
44 "main" : " src/js/jquery.swipebox.js"
55}
Original file line number Diff line number Diff line change @@ -214,11 +214,12 @@ <h3>Check open state</h3>
214214 < h3 > Options</ h3 >
215215< pre >
216216<script type="text/javascript">
217- ;( function( $ ) {
217+ ;( function( $ ) {
218218
219219 $( '.swipebox' ).swipebox( {
220220 useCSS : true, < span > // false will force the use of jQuery for animations</ span >
221221 useSVG : true, < span > // false to force the use of png for buttons</ span >
222+ hideBarsOnMobile : true, < span > // false will show the caption and navbar on mobile devices</ span >
222223 hideBarsDelay : 3000, < span > // delay before hiding bars</ span >
223224 videoMaxWidth : 1140, < span > // videos max width</ span >
224225 beforeOpen: function() {}, < span > // called before opening</ span >
You can’t perform that action at this time.
0 commit comments