PluginProbe ʕ •ᴥ•ʔ
Responsive Lightbox & Gallery / 1.0.1
Responsive Lightbox & Gallery v1.0.1
2.7.8 trunk 1.0.0 1.0.1 1.0.1.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4.0 1.4.0.1 1.4.1 1.4.11 1.4.12 1.4.13 1.4.14 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.3.1 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.1 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7
responsive-lightbox / js / responsive-lightbox-front.js
responsive-lightbox / js Last commit date
responsive-lightbox-admin.js 13 years ago responsive-lightbox-front.js 13 years ago
responsive-lightbox-front.js
39 lines
1 jQuery(document).ready(function($) {
2
3 function rlUniqueArr(v, i, s) {
4 return s.indexOf(v) === i;
5 }
6
7 if(rlArgs.script === 'swipebox') {
8 $('a[rel*="'+rlArgs.selector+'"]').swipebox({
9 useCSS: rlArgs.animation,
10 hideBarsDelay: (rlArgs.hideBars === '1' ? parseInt(rlArgs.hideBarsDelay) : 0),
11 videoMaxWidth: parseInt(rlArgs.videoMaxWidth)
12 });
13 } else {
14 $('a[rel*="'+rlArgs.selector+'"]').prettyPhoto({
15 animation_speed: rlArgs.animationSpeed,
16 slideshow: (rlArgs.slideshow === '1' ? parseInt(rlArgs.slideshowDelay) : false),
17 autoplay_slideshow: (rlArgs.slideshowAutoplay === '1' ? true : false),
18 opacity: rlArgs.opacity,
19 show_title: (rlArgs.showTitle === '1' ? true : false),
20 allow_resize: (rlArgs.allowResize === '1' ? true : false),
21 default_width: parseInt(rlArgs.width),
22 default_height: parseInt(rlArgs.height),
23 counter_separator_label: rlArgs.separator,
24 theme: rlArgs.theme,
25 horizontal_padding: parseInt(rlArgs.horizontalPadding),
26 hideflash: (rlArgs.hideFlash === '1' ? true : false),
27 wmode: rlArgs.wmode,
28 autoplay: (rlArgs.videoAutoplay === '1' ? true : false),
29 modal: (rlArgs.modal === '1' ? true : false),
30 deeplinking: (rlArgs.deeplinking === '1' ? true : false),
31 overlay_gallery: (rlArgs.overlayGallery === '1' ? true : false),
32 keyboard_shortcuts: (rlArgs.keyboardShortcuts === '1' ? true : false),
33 social_tools: (rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : ''),
34 changepicturecallback: function(){},
35 callback: function(){},
36 ie6_fallback: true
37 });
38 }
39 });