diff options
author | flop25 <flop25@piwigo.org> | 2013-06-30 21:15:06 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-06-30 21:15:06 +0000 |
commit | 18cfd1bb208eb12cd1be736780d813fb2de6830e (patch) | |
tree | df9b2b4ad981c6bdd1b5f0425e5b6678b39ec08b /themes/smartpocket/js/smartpocket.js | |
parent | 19ae5b7e2ecd0948f202ac72e714b87808db7ccb (diff) |
bug:2848
added two options for the slideshow
ToDo lang var
git-svn-id: http://piwigo.org/svn/trunk@23718 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/smartpocket/js/smartpocket.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/smartpocket/js/smartpocket.js b/themes/smartpocket/js/smartpocket.js index 0b076fcc0..629fe668c 100644 --- a/themes/smartpocket/js/smartpocket.js +++ b/themes/smartpocket/js/smartpocket.js @@ -2,10 +2,11 @@ $(document).ready(function(){
var options = {
jQueryMobile: true,
- captionAndToolbarAutoHideDelay: 0,
+ loop: var_loop,
+ captionAndToolbarAutoHideDelay: var_autohide,
imageScaleMethod: "fitNoUpscale",
getToolbar: function(){
-return '<div class="ps-toolbar-close"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-play"><div class="ps-toolbar-content"></div></div><a href="#" id="more_link">More Information</a><div class="ps-toolbar-previous"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-next"><div class="ps-toolbar-content"></div></div>';},
+return '<div class="ps-toolbar-close"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-play"><div class="ps-toolbar-content"></div></div><a href="#" id="more_link">'+var_trad+'</a><div class="ps-toolbar-previous"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-next"><div class="ps-toolbar-content"></div></div>';},
getImageMetaData:function(el){
return {
picture_url: $(el).attr('data-picture-url')
|