1/* DOKUWIKI:include_once jquery.slimbox2.js */ 2/* DOKUWIKI:include_once jquery.pwi.js */ 3 4function on_document_ready(div_id, username, mode, album) { 5 jQuery(document).ready(function() { 6 jQuery('#' + div_id).pwi({ 7 username: username, 8 mode: mode, 9 album: album, 10 maxResults: 999, // display all photos (without any paging) 11 // photoSize: 0, // middle-clic on thumbnail opens full-size photo 12 labels: { 13 photo:"photo", 14 photos: "photos", 15 albums: "Retour aux albums", 16 slideshow: "Lancer un diaporama", 17 loading: "Chargement...", 18 page: "Page", 19 prev: "Précédent", 20 next: "Suivant", 21 devider: "|" 22 }, 23 months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", 24 "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], 25 26 // slimbox documentation: http://code.google.com/p/slimbox/wiki/jQueryManual 27 slimbox_config: { 28 // disable all animations 29 overlayFadeDuration: 0, 30 resizeDuration: 0, 31 imageFadeDuration: 0, 32 captionAnimationDuration: 0, 33 counterText: "{x} / {y}", 34 }, 35 }); 36 }); 37} 38