jQuery Lightbox For Native Galleries - Version 1.1.0

Version Description

Download this release

Release Info

Developer Viper007Bond
Plugin Icon wp plugin jQuery Lightbox For Native Galleries
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.0 to 1.1.0

jquery-lightbox-for-native-galleries.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin Name: jQuery Lightbox For Native Galleries
6
  Plugin URI: http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/
7
  Description: Makes the native WordPress galleries introduced in WordPress 2.5 use <a href="http://plugins.jquery.com/project/jquerylightbox_bal">jQuery Lightbox by balupton</a> to display the fullsize images.
8
- Version: 1.0.0
9
  Author: Viper007Bond
10
  Author URI: http://www.viper007bond.com/
11
 
@@ -32,34 +32,26 @@ class jQueryLightboxForNativeGalleries {
32
 
33
  // Plugin initialization
34
  function jQueryLightboxForNativeGalleries() {
35
- if ( is_admin() ) return;
36
 
37
- wp_enqueue_script( 'jquery' );
38
- wp_enqueue_script( 'jquery-lightbox', WP_CONTENT_URL . '/plugins/jquery-lightbox-for-native-galleries/jquery_lightbox/js/jquery.lightbox.packed.js', FALSE, '1.2.1-final' );
39
 
40
  add_action( 'wp_head', array(&$this, 'wp_head') );
41
  add_filter( 'attachment_link', array(&$this, 'attachment_link'), 10, 2 );
42
  }
43
 
44
 
45
- // Output some additional Javascript and CSS
46
  function wp_head() {
47
- // Apply the lightbox to all gallery thumbnails
48
- echo '<script type="text/javascript">jQuery(document).ready(function(){ jQuery(".gallery a").lightbox(); });</script>' . "\n";
49
-
50
- // There's a "bug" with jQuery Lightbox when dealing with images larger than the screen
51
- // See http://plugins.jquery.com/node/2191
52
- echo '<style type="text/css" media="screen">#lightbox-imageBox, #lightbox-infoBox { max-width: 99%; } #lightbox-imageBox img { max-width: 100%; }</style>' . "\n";
53
  }
54
 
55
 
56
  // Make the thumbnails link to the fullsize image rather than a Page with the medium sized image
57
  function attachment_link( $link, $id ) {
58
- $mimetypes = array( 'image/jpeg', 'image/png', 'image/gif' );
59
-
60
  $post = get_post( $id );
61
 
62
- if ( in_array( $post->post_mime_type, $mimetypes ) )
63
  return wp_get_attachment_url( $id );
64
  else
65
  return $link;
@@ -69,8 +61,4 @@ class jQueryLightboxForNativeGalleries {
69
  // Start this plugin once all other plugins are fully loaded
70
  add_action( 'plugins_loaded', create_function( '', 'global $jQueryLightboxForNativeGalleries; $jQueryLightboxForNativeGalleries = new jQueryLightboxForNativeGalleries();' ) );
71
 
72
- // For WordPress 2.5.x
73
- if ( !defined('WP_CONTENT_URL') )
74
- define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
75
-
76
  ?>
5
  Plugin Name: jQuery Lightbox For Native Galleries
6
  Plugin URI: http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/
7
  Description: Makes the native WordPress galleries introduced in WordPress 2.5 use <a href="http://plugins.jquery.com/project/jquerylightbox_bal">jQuery Lightbox by balupton</a> to display the fullsize images.
8
+ Version: 1.1.0
9
  Author: Viper007Bond
10
  Author URI: http://www.viper007bond.com/
11
 
32
 
33
  // Plugin initialization
34
  function jQueryLightboxForNativeGalleries() {
35
+ if ( is_admin() || !function_exists('plugins_url') ) return;
36
 
37
+ wp_enqueue_script( 'jquery-lightbox', plugins_url('/jquery-lightbox-for-native-galleries/jquery_lightbox/js/jquery.lightbox.packed.js?ie6_upgrade=false'), array('jquery'), '1.3.1-rc1' );
 
38
 
39
  add_action( 'wp_head', array(&$this, 'wp_head') );
40
  add_filter( 'attachment_link', array(&$this, 'attachment_link'), 10, 2 );
41
  }
42
 
43
 
44
+ // Output the Javascript to create the Lightbox
45
  function wp_head() {
46
+ echo '<script type="text/javascript">jQuery(document).ready(function(){ jQuery(".gallery").each(function(index, obj){ jQuery(obj).find("a").lightbox(); }); });</script>' . "\n";
 
 
 
 
 
47
  }
48
 
49
 
50
  // Make the thumbnails link to the fullsize image rather than a Page with the medium sized image
51
  function attachment_link( $link, $id ) {
 
 
52
  $post = get_post( $id );
53
 
54
+ if ( 'image/' == substr( $post->post_mime_type, 0, 6 ) )
55
  return wp_get_attachment_url( $id );
56
  else
57
  return $link;
61
  // Start this plugin once all other plugins are fully loaded
62
  add_action( 'plugins_loaded', create_function( '', 'global $jQueryLightboxForNativeGalleries; $jQueryLightboxForNativeGalleries = new jQueryLightboxForNativeGalleries();' ) );
63
 
 
 
 
 
64
  ?>
jquery_lightbox/css/jquery.lightbox.css CHANGED
@@ -20,8 +20,8 @@
20
  *
21
  * @name jquery_lightbox: jquery.lightbox.css
22
  * @package jQuery Lightbox Plugin (balupton edition)
23
- * @version 1.1.1-final
24
- * @date April 07, 2008
25
  * @category jQuery plugin
26
  * @author Benjamin "balupton" Lupton {@link http://www.balupton.com}
27
  * @copyright (c) 2008 Benjamin Arthur Lupton {@link http://www.balupton.com}
@@ -62,6 +62,11 @@ html, body { margin: 0; padding: 0; height: 100%;}
62
  display:block;
63
  }
64
 
 
 
 
 
 
65
  #lightbox-overlay {
66
  z-index: 90;
67
  background-color:#000000;
@@ -78,7 +83,6 @@ html, body { margin: 0; padding: 0; height: 100%;}
78
  line-height:normal;
79
  }
80
  #lightbox-overlay-text a, #lightbox-overlay-text a:hover, #lightbox-overlay-text a:visited, #lightbox-overlay-text a:link {
81
- text-decoration:underline;
82
  color:white;
83
  }
84
  #lightbox-overlay-text span {
@@ -206,10 +210,6 @@ html, body { margin: 0; padding: 0; height: 100%;}
206
  #lightbox-close-button{
207
  padding-left:30%;
208
  }
209
- #lightbox-close-button, #lightbox-close-button:link, #lightbox-close-button:visited, #lightbox-close-button:hover {
210
- text-decoration:underline;
211
- color:#999999;
212
- }
213
  #lightbox-close-button:hover {
214
  color:#666666;
215
  }
20
  *
21
  * @name jquery_lightbox: jquery.lightbox.css
22
  * @package jQuery Lightbox Plugin (balupton edition)
23
+ * @version 1.3.0-rc1
24
+ * @date August 24, 2008
25
  * @category jQuery plugin
26
  * @author Benjamin "balupton" Lupton {@link http://www.balupton.com}
27
  * @copyright (c) 2008 Benjamin Arthur Lupton {@link http://www.balupton.com}
62
  display:block;
63
  }
64
 
65
+ #lightbox a, #lightbox a:link, #lightbox a:visited, #lightbox a:hover {
66
+ text-decoration:underline;
67
+ color:#999999;
68
+ }
69
+
70
  #lightbox-overlay {
71
  z-index: 90;
72
  background-color:#000000;
83
  line-height:normal;
84
  }
85
  #lightbox-overlay-text a, #lightbox-overlay-text a:hover, #lightbox-overlay-text a:visited, #lightbox-overlay-text a:link {
 
86
  color:white;
87
  }
88
  #lightbox-overlay-text span {
210
  #lightbox-close-button{
211
  padding-left:30%;
212
  }
 
 
 
 
213
  #lightbox-close-button:hover {
214
  color:#666666;
215
  }
jquery_lightbox/css/jquery.lightbox.packed.css CHANGED
@@ -8,4 +8,4 @@
8
  * You should have received a copy of the GNU Affero General Public License
9
  * along with jQuery Lightbox (balupton edition). If not, see <http://www.gnu.org/licenses/>.
10
  */
11
- html,body{margin:0;padding:0;height:100%}#lightbox,#lightbox-overlay{position:absolute;top:0px;left:0px;bottom:auto;right:auto;z-index:100;width:100%;height:auto;text-align:center;color:#333;margin:0px;padding:0px;border:none;outline:none;line-height:0;text-decoration:none;background:none;word-spacing:normal;letter-spacing:normal;float:none;clear:none;display:block}#lightbox-overlay{z-index:90;background-color:#000;height:100%;position:fixed}#lightbox-overlay-text{text-align:right;margin-right:20px;margin-top:20px;color:white;font-size:12px;cursor:default;line-height:normal}#lightbox-overlay-text a,#lightbox-overlay-text a:hover,#lightbox-overlay-text a:visited,#lightbox-overlay-text a:link{text-decoration:underline;color:white}#lightbox-overlay-text span{padding-left:5px;padding-right:5px}#lightbox img,#lightbox a img,#lightbox a{border:none;outline:none}#lightbox-imageBox{position:relative;border:1px solid black;;background-color:white;width:400px;height:400px;margin:0 auto}#lightbox-imageContainer{padding:1px}#lightbox-loading{position:absolute;top:40%;left:0%;height:25%;width:100%;text-align:center;line-height:0}#lightbox-nav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}#lightbox-nav-btnPrev,#lightbox-nav-btnNext{display:block;width:49%;height:100%;background:transparent url("../images/blank.gif") no-repeat;zoom:1;padding:0px;margin:0px}#lightbox-nav-btnPrev{left:0;right:auto;float:left}#lightbox-nav-btnNext{left:auto;right:0;float:right}#lightbox-infoBox{font:10px Verdana,Helvetica,sans-serif;background-color:#FFF;margin:0 auto;padding:0px}#lightbox-infoContainer{padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;color:#666;line-height:normal}#lightbox-infoHeader{width:100%;text-align:center}#lightbox-caption{text-align:justify}#lightbox-caption-title{font-weight:bold}#lightbox-caption-description{font-weight:normal}#lightbox-infoFooter{margin-top:3px;color:#999}#lightbox-currentNumber{display:block;width:49%;float:left;text-align:left}#lightbox-close{display:block;width:45%;float:right;text-align:right}#lightbox-close-button{padding-left:30%}#lightbox-close-button,#lightbox-close-button:link,#lightbox-close-button:visited,#lightbox-close-button:hover{text-decoration:underline;color:#999}#lightbox-close-button:hover{color:#666}#lightbox-infoContainer-clear{clear:both;visibility:hidden}
8
  * You should have received a copy of the GNU Affero General Public License
9
  * along with jQuery Lightbox (balupton edition). If not, see <http://www.gnu.org/licenses/>.
10
  */
11
+ html,body{margin:0;padding:0;height:100%}#lightbox,#lightbox-overlay{position:absolute;top:0px;left:0px;bottom:auto;right:auto;z-index:100;width:100%;height:auto;text-align:center;color:#333;margin:0px;padding:0px;border:none;outline:none;line-height:0;text-decoration:none;background:none;word-spacing:normal;letter-spacing:normal;float:none;clear:none;display:block}#lightbox a,#lightbox a:link,#lightbox a:visited,#lightbox a:hover{text-decoration:underline;color:#999}#lightbox-overlay{z-index:90;background-color:#000;height:100%;position:fixed}#lightbox-overlay-text{text-align:right;margin-right:20px;margin-top:20px;color:white;font-size:12px;cursor:default;line-height:normal}#lightbox-overlay-text a,#lightbox-overlay-text a:hover,#lightbox-overlay-text a:visited,#lightbox-overlay-text a:link{color:white}#lightbox-overlay-text span{padding-left:5px;padding-right:5px}#lightbox img,#lightbox a img,#lightbox a{border:none;outline:none}#lightbox-imageBox{position:relative;border:1px solid black;;background-color:white;width:400px;height:400px;margin:0 auto}#lightbox-imageContainer{padding:1px}#lightbox-loading{position:absolute;top:40%;left:0%;height:25%;width:100%;text-align:center;line-height:0}#lightbox-nav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}#lightbox-nav-btnPrev,#lightbox-nav-btnNext{display:block;width:49%;height:100%;background:transparent url("../images/blank.gif") no-repeat;zoom:1;padding:0px;margin:0px}#lightbox-nav-btnPrev{left:0;right:auto;float:left}#lightbox-nav-btnNext{left:auto;right:0;float:right}#lightbox-infoBox{font:10px Verdana,Helvetica,sans-serif;background-color:#FFF;margin:0 auto;padding:0px}#lightbox-infoContainer{padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;color:#666;line-height:normal}#lightbox-infoHeader{width:100%;text-align:center}#lightbox-caption{text-align:justify}#lightbox-caption-title{font-weight:bold}#lightbox-caption-description{font-weight:normal}#lightbox-infoFooter{margin-top:3px;color:#999}#lightbox-currentNumber{display:block;width:49%;float:left;text-align:left}#lightbox-close{display:block;width:45%;float:right;text-align:right}#lightbox-close-button{padding-left:30%}#lightbox-close-button:hover{color:#666}#lightbox-infoContainer-clear{clear:both;visibility:hidden}
jquery_lightbox/js/jquery.lightbox.packed.js CHANGED
@@ -8,4 +8,4 @@
8
  * You should have received a copy of the GNU Affero General Public License
9
  * along with jQuery Lightbox (balupton edition). If not, see <http://www.gnu.org/licenses/>.
10
  */
11
- eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(r($){q(3t.3u.1R(\'3v 6\')>=0){v o=M.2F(\'2G\')[0];v p=M.2H(\'2I\');p.2J=\'D/3w\';p.z=\'2K://3x.3y.3z/3A.1d.1r.3B.6.1s\';o.2L(p);u A}$.U=$.U||r(a){v b=A;q(B 1S!==\'F\'&&B $.U!==\'F\'){b=1S}H q(B 1e.1S!==\'F\'&&B 1e.$.U!==\'F\'){b=1e.1S}q(b){q(B 1E!==\'F\'&&1E.1t>1){b.U(1E);u 1E}H{b.U(a);u a}}};$.2e=$.2e||r(a){a=2M(a);a=a.1u(a.1R(\'?\')+1);a=a.3C(/\\+/g,\'%20\');q(a.1u(0,1)===\'{\'&&a.1u(a.1t-1)===\'}\'){u 1T(2f(a))}a=a.2g(/\\&|\\&3D\\;/);v b={};1v(v i=0,n=a.1t;i<n;++i){v c=a[i]||A;q(c===A){1U}c=c.2g(\'=\');q(c===A){1U}v d=c[0]||A;q(d===A){1U}q(B c[1]===\'F\'){1U}v f=c[1];d=2f(d);f=2f(f);3E{f=1T(f)}3F(e){}v g=d.2g(\'.\');q(g.1t===1){b[d]=f}H{v h=\'\';1v(2N 2h g){d=g[2N];h+=\'.\'+d;1T(\'2i\'+h+\' = 2i\'+h+\' || {}\')}1T(\'2i\'+h+\' = 3G\')}}u b};$.1V=r(){7.2O()};$.3H.8=r(b){$.w=$.w||17 $.1V();b=$.18({1F:x,2P:I},b);v c=$(7);q(b.2P){$(c).Y().1w(r(){v a=$(7);q(!$.w.2j($(a)[0],c)){u x}q(!$.w.1F()){u x}u x});$(c).3I(\'8-3J\')}q(b.1F){v d=$(7);q(!$.w.2j($(d)[0],c)){u 7}q(!$.w.1F()){u 7}}u 7};$.18($.1V.3K,{y:{1f:[],O:x,12:r(a){q(B a===\'F\'){a=7.13();q(!a){u a}}q(7.1W(a)){u x}u 7.1g(a.Z-1)},14:r(a){q(B a===\'F\'){a=7.13();q(!a){u a}}q(7.2k(a)){u x}u 7.1g(a.Z+1)},1W:r(a){q(B a===\'F\'){u 7.1g(0)}u a.Z===0},2k:r(a){q(B a===\'F\'){u 7.1g(7.15()-1)}u a.Z===7.15()-1},2Q:r(){u 7.15()===1},15:r(){u 7.1f.1t},2l:r(){u 7.15()===0},2m:r(){7.1f=[];7.O=x},13:r(a){q(B a===\'F\'){u 7.O}a=7.1g(a);q(!a){u a}7.O=a;u I},2n:r(a){q(a[0]){1v(v i=0;i<a.1t;i++){7.2n(a[i])}u I}v b=7.2o(a);q(!b){u b}b.Z=7.15();7.1f.2R(b);u I},2o:r(a){v b={z:\'\',G:\'2S\',Q:\'\',1x:\'\',Z:-1,O:I};q(a.O){b.z=a.z||b.z;b.G=a.G||b.G;b.Q=a.Q||b.Q;b.1x=a.1x||b.1x;b.Z=a.Z||b.Z}H q(a.3L){a=$(a);q(a.V(\'z\')||a.V(\'19\')){b.z=a.V(\'z\')||a.V(\'19\');b.G=a.V(\'G\')||a.V(\'3M\')||b.G;b.1x=a.V(\'1x\')||\'\';v s=b.G.1R(\': \');q(s>0){b.Q=b.G.1u(s+2)||b.Q;b.G=b.G.1u(0,s)||b.G}}H{b=x}}H{b=x}q(!b){$.U(\'2p\',\'2T 3N 2U 2V 3O 3P:\',a);u x}u b},1g:r(a){q(B a===\'F\'||a===A){u 7.13()}H q(B a===\'3Q\'){a=7.1f[a]||x}H{a=7.2o(a);q(!a){u x}v f=x;1v(v i=0;i<7.15();i++){v c=7.1f[i];q(c.z===a.z&&c.G===a.G&&c.Q===a.Q){f=c}}a=f}q(!a){$.U(\'2p\',\'3R 3S O 3T\\\'t 3U: \',a,7.1f);u x}u a},2W:r(){u $.w.2W(1E)}},1X:x,z:A,1G:A,K:{1s:{8:\'1s/2q.8.2X.1s\'},J:{8:\'J/2q.8.2X.J\'},y:{12:\'y/12.1Y\',14:\'y/14.1Y\',1H:\'y/1H.1Y\',1a:\'y/1a.1Y\'}},D:{O:\'1I\',2r:\'2r\',R:\'3V X\',2Y:\'3W 3X 3Y 1w 3Z 40 2Z O 1r R.\',2s:{R:\'41 1r R\',1h:\'42 1r 1h\'},1y:{D:\'30 w 43 (44 46)\',G:\'47 48 2Z 49 4a 4b 4c 4d.\',1J:\'2K://2q.4e/4f/4g/4h\'}},1K:I,1L:{R:\'c\',12:\'p\',14:\'n\'},2t:{1i:A},1Z:0.9,S:A,1b:31,1z:\'8\',2u:I,21:x,2v:[\'1G\',\'K\',\'D\',\'1K\',\'1L\',\'1Z\',\'S\',\'1b\',\'1z\',\'2u\',\'21\'],2O:r(e){v f=B 7.1X===\'F\'||7.1X===x;7.1X=I;v g=f;e=$.18({},e);q(f&&(B e.K===\'F\')){7.z=$(\'2I[z*=\'+7.K.1s.8+\']:1W\').V(\'z\');q(!7.z){g=x}H{7.1G=7.z.1u(0,7.z.1R(7.K.1s.8));v h=7;$.1j(7.K,r(c,d){$.1j(7,r(a,b){h.K[c][a]=h.1G+b})});22 h;e=$.18(e,$.2e(7.z))}}H q(B e.K===\'1k\'){v h=7;$.1j(e.K,r(c,d){$.1j(7,r(a,b){7[a]=h.1G+b})});22 h}H{g=x}1v(i 2h 7.2v){v j=7.2v[i];q((B e[j]===\'1k\')&&(B 7[j]===\'1k\')){7[j]=$.18(7[j],e[j])}H q(B e[j]!==\'F\'){7[j]=e[j]}}q(g||B e.K===\'1k\'||B e.D===\'1k\'||B e.1K!==\'F\'||B e.21!==\'F\'){$(r(){$.w.32()})}u I},32:r(){v b=7.K.J;v c=M.2F($.4i.4j?\'2G\':\'1A\')[0];1v(1M 2h b){v d=M.2H(\'1J\');d.2J=\'D/J\';d.1z=\'1M\';d.4k=\'4l\';d.19=b[1M];d.C=\'8-1M-\'+1M;$(\'#\'+d.C).33();c.2L(d)}22 b;22 c;$(\'#8,#8-N\').33();$(\'1A\').4m(\'<E C="8-N"><E C="8-N-D">\'+(7.1K?\'<p><P C="8-N-D-1y"><a 19="#" G="\'+7.D.1y.G+\'">\'+7.D.1y.D+\'</a></P></p><p>&1l;</p>\':\'\')+\'<p><P C="8-N-D-R">\'+7.D.2s.R+\'</P><4n/>&1l;<P C="8-N-D-1h">\'+7.D.2s.1h+\'</P></p></E></E><E C="8"><E C="8-1B"><E C="8-2w"><34 C="8-O" /><E C="8-L"><a 19="#" C="8-L-1m"></a><a 19="#" C="8-L-1n"></a></E><E C="8-1a"><a 19="#" C="8-1a-1J"><34 z="\'+7.K.y.1a+\'" /></a></E></E></E><E C="8-1C"><E C="8-35"><E C="8-4o"><P C="8-1N"><P C="8-1N-G"></P><P C="8-1N-Q"></P></P></E><E C="8-2x"><P C="8-2y"></P><P C="8-R"><a 19="#" C="8-R-4p" G="\'+7.D.2Y+\'">\'+7.D.R+\'</a></P></E><E C="8-35-2m"></E></E></E></E>\');7.23();7.1c();$(\'#8,#8-N,#8-N-D-1h\').1o();$.1j(7.K.y,r(){v a=17 1I();a.24=r(){a.24=A;a=A};a.z=7});$(1e).Y().4q(r(){$.w.23();$.w.1c()});q($.w.21){$(1e).4r(r(){$.w.1c()})}$(\'#8-L-1m\').Y().2z(r(){$(7).J({\'1O\':\'1P(\'+$.w.K.y.12+\') 2A 45% 1d-1Q\'})},r(){$(7).J({\'1O\':\'2B 1P(\'+$.w.K.y.1H+\') 1d-1Q\'})}).1w(r(){$.w.W($.w.y.12());u x});$(\'#8-L-1n\').Y().2z(r(){$(7).J({\'1O\':\'1P(\'+$.w.K.y.14+\') 4s 45% 1d-1Q\'})},r(){$(7).J({\'1O\':\'2B 1P(\'+$.w.K.y.1H+\') 1d-1Q\'})}).1w(r(){$.w.W($.w.y.14());u x});q(7.1K){$(\'#8-N-D-1y a\').1w(r(){1e.4t($.w.D.1y.1J);u x})}$(\'#8-N-D-R\').Y().2z(r(){$(\'#8-N-D-1h\').25()},r(){$(\'#8-N-D-1h\').36()});$(\'#8-N, #8, #8-1a-1J, #8-4u\').Y().1w(r(){$.w.26();u x});q($.w.2u){$.w.38()}u I},38:r(){v d={};v e=0;v f=7.1z;$.1j($(\'[@1z*=\'+f+\']\'),r(a,b){v c=$(b).V(\'1z\');q(c===f){c=e}q(B d[c]===\'F\'){d[c]=[];e++}d[c].2R(b)});$.1j(d,r(a,b){$(b).8()});u I},2j:r(a,b){q(B b===\'F\'){b=a;a=0}7.y.2m();q(!7.y.2n(b)){u x}q(7.y.2l()){$.U(\'4v\',\'w 4w, 4x 1d y: \',a,b);u x}q(!7.y.13(a)){u x}u I},1F:r(){$(\'3a, 1k, 3b\').J(\'3c\',\'4y\');7.23();7.1c({\'1b\':0});$(\'#8-2x\').1o();$(\'#8-O,#8-L,#8-L-1m,#8-L-1n,#8-1C\').1o();$(\'#8-N\').J(\'1Z\',7.1Z).25(31,r(){$(\'#8\').25(4z);q(!$.w.W($.w.y.13())){$.w.26();u x}});u I},26:r(){$(\'#8\').1o();$(\'#8-N\').36(r(){$(\'#8-N\').1o()});$(\'3a, 1k, 3b\').J({\'3c\':\'4A\'})},23:r(){$(\'#8-N\').J({16:$(M).16(),T:$(M).T()})},1p:x,1D:x,1c:r(a){q($.w.1p){$.w.1D=I;u A}$.w.1p=I;a=$.18({},a);a.28=a.28||A;a.1b=a.1b||\'3d\';v b=7.3e();v c=a.3f||2C($(\'#8\').T(),10)||$(M).T()/3;v d=b.1q+($(M.1A).T()-c)/2.5;v e=b.3g;v f={2A:e,4B:d};q(a.1b){$(\'#8\').3h(f,\'3d\',r(){q($.w.1D){$.w.1p=$.w.1D=x;$.w.1c(a)}H{$.w.1p=x;q(a.28){a.28()}}})}H{$(\'#8\').J(f);q($.w.1D){$.w.1p=$.w.1D=x;$.w.1c(a)}H{$.w.1p=x}}u I},W:r(a,b){a=7.y.1g(a);q(!a){u a}b=$.18({11:1},b);v c=b.11>1&&7.y.13().z!==a.z;v d=b.11>2&&$(\'#8-O\').V(\'z\')!==a.z;q(c||d){$.U(\'2T 4C 1r 4D a 4E 4F: \',b,a,c,d);b.11=1}4G(b.11){29 1:7.3i();$(\'#8-1a\').1i();$(\'#8-O,#8-L,#8-L-1m,#8-L-1n,#8-1C\').1o();$(\'#8-1B\').Y();q(!7.y.13(a)){u x}v e=17 1I();e.24=r(){$.w.W(A,{11:2,16:e.16,T:e.T});e.24=A;e=A};e.z=a.z;2a;29 2:$(\'#8-O\').V(\'z\',a.z);b=$.18({16:A,T:A},b);q(B 7.S===\'F\'||7.S===A||4H(7.S)){7.S=2C($(\'#8-2w\').J(\'S-2A\'),10)||2C($(\'#8-2w\').J(\'S\'),10)||0}v f=b.16;v g=b.T;v h=$(\'#8-1B\').16();v i=$(\'#8-1B\').T();v j=(f+(7.S*2));v k=(g+(7.S*2));v l=h-j;v m=i-k;$(\'#8-L-1m,#8-L-1n\').J({T:g+(7.S*2)});$(\'#8-1C\').J({16:f+7.S*2});7.1c({\'3f\':k});q(l===0&&m===0){7.3j(7.1b/3);$.w.W(A,{11:3})}H{$(\'#8-1B\').3h({16:j,T:k},7.1b,r(){$.w.W(A,{11:3})})}2a;29 3:$(\'#8-1a\').1o();$(\'#8-O\').25(4I,r(){$.w.W(A,{11:4})});7.3k();q($.w.2t.1i!==A){$.w.2t.1i(a)}2a;29 4:$(\'#8-1N-G\').2b(a.G+(a.Q?\': \':\'\')||\'2S\');$(\'#8-1N-Q\').2b(a.Q||\'&1l;\');q(7.y.15()>1){$(\'#8-2y\').2b(7.D.O+\'&1l;\'+(a.Z+1)+\'&1l;\'+7.D.2r+\'&1l;\'+7.y.15())}H{$(\'#8-2y\').2b(\'&1l;\')}$(\'#8-1B\').Y(\'2c\').2c(r(){$(\'#8-1C\').3l(\'3m\')});$(\'#8-1C\').Y(\'2c\').2c(r(){$(\'#8-2x\').3l(\'3m\')});$(\'#8-L-1m, #8-L-1n\').J({\'1O\':\'2B 1P(\'+7.K.y.1H+\') 1d-1Q\'});q(!7.y.1W(a)){$(\'#8-L-1m\').1i()}q(!7.y.2k(a)){$(\'#8-L-1n\').1i()}$(\'#8-L\').1i();7.3n();2a;4J:$.U(\'2p\',\'4K\\\'t 2U 2V 1r 3o: \',b);u 7.W(a,{11:1})}u I},3k:r(){q(7.y.2Q()||7.y.2l()){u I}v a=7.y.13();q(!a){u a}v b=7.y.12(a);v c;q(b){c=17 1I();c.z=b.z}v d=7.y.14(a);q(d){c=17 1I();c.z=d.z}},3n:r(){$(M).4L(r(a){$.w.3p(a)})},3i:r(){$(M).Y()},3p:r(a){a=a||1e.4M;v b=a.4N;v c=a.4O||27;v d=2M.4P(b).4Q();q(d===7.1L.R||b===c){u $.w.26()}q(d===7.1L.12||b===37){u $.w.W($.w.y.12())}q(d===7.1L.14||b===39){u $.w.W($.w.y.14())}u I},3e:r(){v a,1q;q(2D.3q){1q=2D.3q;a=2D.4R}H q(M.2d&&M.2d.2E){1q=M.2d.2E;a=M.2d.3r}H q(M.1A){1q=M.1A.2E;a=M.1A.3r}v b={\'3g\':a,\'1q\':1q};u b},3j:r(a){v b=17 3s();v c=A;3o{c=17 3s()}4S(c-b<a)}});q(B $.w===\'F\'){$.w=17 $.1V()}})(30);',62,303,'|||||||this|lightbox||||||||||||||||||if|function|||return|var|Lightbox|false|images|src|null|typeof|id|text|div|undefined|title|else|true|css|files|nav|document|overlay|image|span|description|close|padding|height|log|attr|showImage||unbind|index||step|prev|active|next|size|width|new|extend|href|loading|speed|repositionBoxes|no|window|list|get|interact|show|each|object|nbsp|btnPrev|btnNext|hide|repositioning|yScroll|to|js|length|substring|for|click|name|about|rel|body|imageBox|infoBox|reposition_failsafe|arguments|start|baseurl|blank|Image|link|show_linkback|keys|stylesheet|caption|background|url|repeat|indexOf|console|eval|continue|LightboxClass|first|constructed|gif|opacity||scroll_with|delete|resizeBoxes|onload|fadeIn|finish||callback|case|break|html|mouseover|documentElement|params_to_json|decodeURIComponent|split|in|json|init|last|empty|clear|add|create|ERROR|jquery|of|help|handlers|auto_relify|options|imageContainer|infoFooter|currentNumber|hover|left|transparent|parseInt|self|scrollTop|getElementsByTagName|head|createElement|script|type|http|appendChild|String|ii|construct|events|single|push|Untitled|We|know|what|debug|packed|closeInfo|the|jQuery|400|domReady|remove|img|infoContainer|fadeOut||relify||embed|select|visibility|slow|getPageScroll|nHeight|xScroll|animate|KeyboardNav_Disable|pause|preloadNeighbours|slideDown|fast|KeyboardNav_Enable|do|KeyboardNav_Action|pageYOffset|scrollLeft|Date|navigator|userAgent|MSIE|javascript|www|savethedevelopers|org|say|ie|replace|amp|try|catch|value|fn|addClass|enabled|prototype|tagName|alt|dont|we|have|number|The|desired|doesn|exist|Close|You|can|also|anywhere|outside|Click|Hover|Plugin|balupton||edition|Licenced|under|GNU|Affero|General|Public|License|com|plugins|project|jquerylightbox_bal|browser|safari|media|screen|append|br|infoHeader|button|resize|scroll|right|open|btnClose|WARNING|started|but|hidden|300|visible|top|wanted|skip|few|steps|switch|isNaN|500|default|Don|keydown|event|keyCode|DOM_VK_ESCAPE|fromCharCode|toLowerCase|pageXOffset|while'.split('|'),0,{}))
8
  * You should have received a copy of the GNU Affero General Public License
9
  * along with jQuery Lightbox (balupton edition). If not, see <http://www.gnu.org/licenses/>.
10
  */
11
+ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(v($){$.W=$.W||v(a){r b=B;q(C 21!==\'G\'&&C $.W!==\'G\'){b=21}J q(C 12.21!==\'G\'&&C 12.$.W!==\'G\'){b=12.21}q(b){q(C 1N!==\'G\'&&1N.1C>1){b.W(1N);u 1N}J{b.W(a);u a}}};$.2p=$.2p||v(a){a=2X(a);a=a.1D(a.22(\'?\')+1);a=a.2q(/\\+/g,\'%20\');q(a.1D(0,1)===\'{\'&&a.1D(a.1C-1)===\'}\'){u 23(2r(a))}a=a.2s(/\\&|\\&3R\\;/);r b={};1l(r i=0,n=a.1C;i<n;++i){r c=a[i]||B;q(c===B){24}c=c.2s(\'=\');q(c===B){24}r d=c[0]||B;q(d===B){24}q(C c[1]===\'G\'){24}r f=c[1];d=2r(d);f=2r(f);3S{f=23(f)}3T(e){}r g=d.2s(\'.\');q(g.1C===1){b[d]=f}J{r h=\'\';1l(2Y 25 g){d=g[2Y];h+=\'.\'+d;23(\'2t\'+h+\' = 2t\'+h+\' || {}\')}23(\'2t\'+h+\' = 3U\')}}u b};$.26=v(){7.2Z()};$.3V.8=v(b){$.w=$.w||1e $.26();q($.w.1f&&!$.w.28){u 7}b=$.1E({1O:x,30:E},b);r c=$(7);q(b.30){$(c).15().1m(v(){r a=$(7);q(!$.w.2u($(a)[0],c)){u x}q(!$.w.1O()){u x}u x});$(c).3W(\'8-3X\')}q(b.1O){r d=$(7);q(!$.w.2u($(d)[0],c)){u 7}q(!$.w.1O()){u 7}}u 7};$.1E($.26.3Y,{y:{1n:[],L:x,18:v(a){q(C a===\'G\'){a=7.13();q(!a){u a}}q(7.29(a)){u x}u 7.1o(a.16-1)},19:v(a){q(C a===\'G\'){a=7.13();q(!a){u a}}q(7.2v(a)){u x}u 7.1o(a.16+1)},29:v(a){q(C a===\'G\'){u 7.1o(0)}u a.16===0},2v:v(a){q(C a===\'G\'){u 7.1o(7.1a()-1)}u a.16===7.1a()-1},31:v(){u 7.1a()===1},1a:v(){u 7.1n.1C},2w:v(){u 7.1a()===0},2x:v(){7.1n=[];7.L=x},13:v(a){q(C a===\'G\'){u 7.L}q(a!==x){a=7.1o(a);q(!a){u a}}7.L=a;u E},2y:v(a){q(a[0]){1l(r i=0;i<a.1C;i++){7.2y(a[i])}u E}r b=7.2z(a);q(!b){u b}b.16=7.1a();7.1n.32(b);u E},2z:v(a){r b={z:\'\',K:\'33\',Y:\'\',1F:\'\',16:-1,1b:B,P:B,N:B,L:E};q(a.L){b.z=a.z||b.z;b.K=a.K||b.K;b.Y=a.Y||b.Y;b.1F=a.1F||b.1F;b.1b=a.1b||b.1b;b.P=a.P||b.P;b.N=a.N||b.N;b.16=a.16||b.16}J q(a.3Z){a=$(a);q(a.U(\'z\')||a.U(\'14\')){b.z=a.U(\'z\')||a.U(\'14\');b.K=a.U(\'K\')||a.U(\'40\')||b.K;b.1F=a.U(\'1F\')||\'\';b.1b=a.H(\'1g-1b\');r s=b.K.22(\': \');q(s>0){b.Y=b.K.1D(s+2)||b.Y;b.K=b.K.1D(0,s)||b.K}}J{b=x}}J{b=x}q(!b){$.W(\'2A\',\'34 41 35 36 42 43:\',a);u x}u b},1o:v(a){q(C a===\'G\'||a===B){u 7.13()}J q(C a===\'44\'){a=7.1n[a]||x}J{a=7.2z(a);q(!a){u x}r f=x;1l(r i=0;i<7.1a();i++){r c=7.1n[i];q(c.z===a.z&&c.K===a.K&&c.Y===a.Y){f=c}}a=f}q(!a){$.W(\'2A\',\'46 47 L 48\\\'t 49: \',a,7.1n);u x}u a},38:v(){u $.w.38(1N)}},2a:x,z:B,1P:B,O:{1c:{8:\'1c/2B.8.3a.1c\',V:\'1c/2C.V.4a.1c\'},H:{8:\'H/2B.8.3a.H\'},y:{18:\'y/18.2b\',19:\'y/19.2b\',1Q:\'y/1Q.2b\',1h:\'y/1h.2b\'}},F:{L:\'1R\',2D:\'2D\',Z:\'4b X\',3b:\'4c 4d 4e 1m 4f 4g 2E L 1p Z.\',2F:\'4h 1G 1p 2F 2E L.\',2G:{Z:\'4i 1p Z\',1q:\'4j 1p 1q\'},1H:{F:\'2C w 4k (4l 4m)\',K:\'4n 4o 2E 4p 4q 4r 4s 4t.\',1G:\'3c://2B.4u/4v/4w/4x\'}},1S:E,1T:{Z:\'c\',18:\'p\',19:\'n\'},2H:{1r:B},2c:0.9,17:B,T:3d,1I:\'8\',2I:E,1U:\'3e\',1f:B,28:E,2J:E,V:B,2K:[\'28\',\'2J\',\'V\',\'1P\',\'O\',\'F\',\'1S\',\'1T\',\'2c\',\'17\',\'T\',\'1I\',\'2I\',\'3f\'],2Z:v(e){r f=C 7.2a===\'G\'||7.2a===x;7.2a=E;r g=f;e=$.1E({},e);q(f&&(C e.O===\'G\')){7.z=$(\'1J[z*=\'+7.O.1c.8+\']:29\').U(\'z\');q(!7.z){g=x}J{7.1P=7.z.1D(0,7.z.22(7.O.1c.8));r h=7;$.1s(7.O,v(c,d){$.1s(7,v(a,b){h.O[c][a]=h.1P+b})});1t h;e=$.1E(e,$.2p(7.z))}}J q(C e.O===\'1u\'){r h=7;$.1s(e.O,v(c,d){$.1s(7,v(a,b){7[a]=h.1P+b})});1t h}J{g=x}1l(i 25 7.2K){r j=7.2K[i];q((C e[j]===\'1u\')&&(C 7[j]===\'1u\')){7[j]=$.1E(7[j],e[j])}J q(C e[j]!==\'G\'){7[j]=e[j]}}q(f&&4y.4z.22(\'4A 6\')>=0){7.1f=E}J{7.1f=x}q(g||C e.V!==\'G\'||C e.O===\'1u\'||C e.F===\'1u\'||C e.1S!==\'G\'||C e.3f!==\'G\'){$(v(){$.w.3g()})}u E},3g:v(){r b=R.4B($.4C.4D?\'4E\':\'1i\')[0];r c=7.O.H;r d=7.O.1c;q(7.1f&&7.2J){d.1f=\'3c://4F.4G.4H/4I.1d.1p.4J.6.1c\'}q(7.V===E&&C $.V===\'G\'){7.V=E}J{7.V=C $.V!==\'G\';1t d.V}1l(1V 25 c){r e=R.3h(\'1G\');e.3i=\'F/H\';e.1I=\'1V\';e.4K=\'4L\';e.14=c[1V];e.D=\'8-1V-\'+1V.2q(/[^a-3j-3k-9]/g,\'\');$(\'#\'+e.D).2L();b.3l(e)}1l(1J 25 d){r f=R.3h(\'1J\');f.3i=\'F/4M\';f.z=d[1J];f.D=\'8-1J-\'+1J.2q(/[^a-3j-3k-9]/g,\'\');$(\'#\'+f.D).2L();b.3l(f)}1t d;1t c;1t b;$(\'#8,#8-M\').2L();$(\'1i\').4N(\'<I D="8-M"><I D="8-M-F">\'+(7.1S?\'<p><S D="8-M-F-1H"><a 14="#" K="\'+7.F.1H.K+\'">\'+7.F.1H.F+\'</a></S></p><p>&1v;</p>\':\'\')+\'<p><S D="8-M-F-Z">\'+7.F.2G.Z+\'</S><4O/>&1v;<S D="8-M-F-1q">\'+7.F.2G.1q+\'</S></p></I></I><I D="8"><I D="8-1w"><I D="8-2M"><3m D="8-L" /><I D="8-Q"><a 14="#" D="8-Q-1x"></a><a 14="#" D="8-Q-1y"></a></I><I D="8-1h"><a 14="#" D="8-1h-1G"><3m z="\'+7.O.y.1h+\'" /></a></I></I></I><I D="8-1K"><I D="8-3n"><I D="8-4P"><S D="8-1j"><a D="8-1j-K" 14="#" K="\'+7.F.2F+\'"></a><S D="8-1j-3o"></S><S D="8-1j-Y"></S></S></I><I D="8-2N"><S D="8-2O"></S><S D="8-Z"><a 14="#" D="8-Z-4Q" K="\'+7.F.3b+\'">\'+7.F.Z+\'</a></S></I><I D="8-3n-2x"></I></I></I></I>\');7.1W();7.1k();$(\'#8,#8-M,#8-M-F-1q\').1z();q(7.1f&&7.28){$(\'#8-M\').H({4R:\'4S\',3p:\'3q\',2d:\'3q\'})}$.1s(7.O.y,v(){r a=1e 1R();a.2e=v(){a.2e=B;a=B};a.z=7});$(12).15().3r(v(){$.w.1W(\'4T\')});q(7.1U===\'3e\'){$(12).1U(v(){$.w.1k()})}$(\'#8-Q-1x\').15().2P(v(){$(7).H({\'1g\':\'1X(\'+$.w.O.y.18+\') 2d 45% 1d-1Y\'})},v(){$(7).H({\'1g\':\'2Q 1X(\'+$.w.O.y.1Q+\') 1d-1Y\'})}).1m(v(){$.w.11($.w.y.18());u x});$(\'#8-Q-1y\').15().2P(v(){$(7).H({\'1g\':\'1X(\'+$.w.O.y.19+\') 4U 45% 1d-1Y\'})},v(){$(7).H({\'1g\':\'2Q 1X(\'+$.w.O.y.1Q+\') 1d-1Y\'})}).1m(v(){$.w.11($.w.y.19());u x});q(7.1S){$(\'#8-M-F-1H a\').1m(v(){12.3s($.w.F.1H.1G);u x})}$(\'#8-M-F-Z\').15().2P(v(){$(\'#8-M-F-1q\').2f()},v(){$(\'#8-M-F-1q\').3t()});$(\'#8-1j-K\').1m(v(){12.3s($(7).U(\'14\'));u x});$(\'#8-M, #8, #8-1h-1G, #8-4V\').15().1m(v(){$.w.2g();u x});q(7.2I){7.3u()}u E},3u:v(){r d={};r e=0;r f=7.1I;$.1s($(\'[@1I*=\'+f+\']\'),v(a,b){r c=$(b).U(\'1I\');q(c===f){c=e}q(C d[c]===\'G\'){d[c]=[];e++}d[c].32(b)});$.1s(d,v(a,b){$(b).8()});u E},2u:v(a,b){q(C b===\'G\'){b=a;a=0}7.y.2x();q(!7.y.2y(b)){u x}q(7.y.2w()){$.W(\'3v\',\'w 4W, 4X 1d y: \',a,b);u x}q(!7.y.13(a)){u x}u E},1O:v(){7.1L=E;q(7.1U===\'3w\'){$(R.1i).H(\'3x\',\'3y\')}$(\'3z, 1u, 3A\').H(\'3B\',\'3y\');7.1W(\'3C\');7.1k({\'T\':0});$(\'#8-2N\').1z();$(\'#8-L,#8-Q,#8-Q-1x,#8-Q-1y,#8-1K\').1z();$(\'#8-M\').H(\'2c\',7.2c).2f(3d,v(){$(\'#8\').2f(4Y);q(!$.w.11($.w.y.13())){$.w.2g();u x}});u E},2g:v(){$(\'#8\').1z();$(\'#8-M\').3t(v(){$(\'#8-M\').1z()});$(\'3z, 1u, 3A\').H({\'3B\':\'1L\'});7.y.13(x);q(7.1U===\'3w\'){$(R.1i).H(\'3x\',\'1L\')}7.1L=x},1W:v(a){q(a!==\'2R\'){r b=$(7.1f?R.1i:R);$(\'#8-M\').H({P:b.P(),N:b.N()});1t b}q(a===\'3C\'){u E}r c=7.y.13();q(!c||!c.P||!7.1L){$.W(\'3v\',\'A 3r 4Z 2S 1d L 50 1d 8...\');u x}r d=c.P;r e=c.N;r f=$(12).P();r g=$(12).N();r h=2h.2i(f*(4/5));r i=2h.2i(g*(4/5));r j;2S(d>h||e>i){q(d>h){j=h/d;d=h;e=2h.2i(e*j)}q(e>i){j=i/e;e=i;d=2h.2i(d*j)}}r k=$(\'#8-1w\').P();r l=$(\'#8-1w\').N();r m=(d+(7.17*2));r n=(e+(7.17*2));r o=k-m;r p=l-n;$(\'#8-Q-1x,#8-Q-1y\').H(\'N\',n);$(\'#8-1K\').H(\'P\',m);q(a===\'2R\'){q(o===0&&p===0){7.3D(7.T/3);7.11(B,3)}J{$(\'#8-L\').P(d).N(e);$(\'#8-1w\').2j({P:m,N:n},7.T,v(){$.w.11(B,3)});7.1k({\'2T\':n,\'T\':7.T})}}J{$(\'#8-L\').2j({P:d,N:e},7.T);$(\'#8-1w\').2j({P:m,N:n},7.T);7.1k({\'2T\':n,\'T\':7.T})}u E},1A:x,1M:x,1k:v(a){q(7.1A){7.1M=E;u B}7.1A=E;a=$.1E({},a);a.2k=a.2k||B;a.T=a.T||\'3E\';r b=7.3F();r c=a.2T||2U($(\'#8\').N(),10);r d=b.1B+($(12).N()-c)/2.5;r e=b.3G;r f={2d:e,3p:d};q(a.T){$(\'#8\').2j(f,\'3E\',v(){q($.w.1M){$.w.1A=$.w.1M=x;$.w.1k(a)}J{$.w.1A=x;q(a.2k){a.2k()}}})}J{$(\'#8\').H(f);q(7.1M){7.1A=7.1M=x;7.1k(a)}J{7.1A=x}}u E},1L:x,11:v(a,b){a=7.y.1o(a);q(!a){u a}b=b||1;r c=b>1&&7.y.13().z!==a.z;r d=b>2&&$(\'#8-L\').U(\'z\')!==a.z;q(c||d){$.W(\'34 51 1p 52 a 53 54: \',a,b,c,d);b=1}55(b){2l 1:7.3H();$(\'#8-1h\').1r();$(\'#8-L,#8-Q,#8-Q-1x,#8-Q-1y,#8-1K\').1z();$(\'#8-1w\').15();q(!7.y.13(a)){u x}q(a.P&&a.N){7.11(B,2)}J{r e=1e 1R();e.2e=v(){a.P=e.P;a.N=e.N;$.w.11(B,2);e.2e=B;e=B};e.z=a.z}2m;2l 2:$(\'#8-L\').U(\'z\',a.z);q(C 7.17===\'G\'||7.17===B||56(7.17)){7.17=2U($(\'#8-2M\').H(\'17-2d\'),10)||2U($(\'#8-2M\').H(\'17\'),10)||0}q(7.V){$(\'#8-M\').V([{57:\'1g-1b\',58:$(\'#8-M\').H(\'1g-1b\'),59:a.1b,5a:1,5b:x}])}7.1W(\'2R\');2m;2l 3:$(\'#8-1h\').1z();$(\'#8-L\').2f(5c,v(){$.w.11(B,4)});7.3I();q(7.2H.1r!==B){7.2H.1r(a)}2m;2l 4:$(\'#8-1j-K\').1Z(a.K||\'33\').U(\'14\',a.z);$(\'#8-1j-3o\').1Z(a.Y?\': \':\'\');$(\'#8-1j-Y\').1Z(a.Y||\'&1v;\');q(7.y.1a()>1){$(\'#8-2O\').1Z(7.F.L+\'&1v;\'+(a.16+1)+\'&1v;\'+7.F.2D+\'&1v;\'+7.y.1a())}J{$(\'#8-2O\').1Z(\'&1v;\')}$(\'#8-1w\').15(\'2n\').2n(v(){$(\'#8-1K\').3J(\'3K\')});$(\'#8-1K\').15(\'2n\').2n(v(){$(\'#8-2N\').3J(\'3K\')});$(\'#8-Q-1x, #8-Q-1y\').H({\'1g\':\'2Q 1X(\'+7.O.y.1Q+\') 1d-1Y\'});q(!7.y.29(a)){$(\'#8-Q-1x\').1r()}q(!7.y.2v(a)){$(\'#8-Q-1y\').1r()}$(\'#8-Q\').1r();7.3L();2m;5d:$.W(\'2A\',\'5e\\\'t 35 36 1p 3M: \',a,b);u 7.11(a,1)}u E},3I:v(){q(7.y.31()||7.y.2w()){u E}r a=7.y.13();q(!a){u a}r b=7.y.18(a);r c;q(b){c=1e 1R();c.z=b.z}r d=7.y.19(a);q(d){c=1e 1R();c.z=d.z}},3L:v(){$(R).5f(v(a){$.w.3N(a)})},3H:v(){$(R).15()},3N:v(a){a=a||12.5g;r b=a.5h;r c=a.5i||27;r d=2X.5j(b).5k();q(d===7.1T.Z||b===c){u $.w.2g()}q(d===7.1T.18||b===37){u $.w.11($.w.y.18())}q(d===7.1T.19||b===39){u $.w.11($.w.y.19())}u E},3F:v(){r a,1B;q(2V.3O){1B=2V.3O;a=2V.5l}J q(R.2o&&R.2o.2W){1B=R.2o.2W;a=R.2o.3P}J q(R.1i){1B=R.1i.2W;a=R.1i.3P}r b={\'3G\':a,\'1B\':1B};u b},3D:v(a){r b=1e 3Q();r c=B;3M{c=1e 3Q()}2S(c-b<a)}});q(C $.w===\'G\'){$.w=1e $.26()}})(2C);',62,332,'|||||||this|lightbox||||||||||||||||||if|var|||return|function|Lightbox|false|images|src||null|typeof|id|true|text|undefined|css|div|else|title|image|overlay|height|files|width|nav|document|span|speed|attr|colorBlend|log||description|close||showImage|window|active|href|unbind|index|padding|prev|next|size|color|js|no|new|ie6|background|loading|body|caption|repositionBoxes|for|click|list|get|to|interact|show|each|delete|object|nbsp|imageBox|btnPrev|btnNext|hide|repositioning|yScroll|length|substring|extend|name|link|about|rel|script|infoBox|visible|reposition_failsafe|arguments|start|baseurl|blank|Image|show_linkback|keys|scroll|stylesheet|resizeBoxes|url|repeat|html||console|indexOf|eval|continue|in|LightboxClass||ie6_support|first|constructed|gif|opacity|left|onload|fadeIn|finish|Math|floor|animate|callback|case|break|mouseover|documentElement|params_to_json|replace|decodeURIComponent|split|json|init|last|empty|clear|add|create|ERROR|jquery|jQuery|of|the|download|help|handlers|auto_relify|ie6_upgrade|options|remove|imageContainer|infoFooter|currentNumber|hover|transparent|transition|while|nHeight|parseInt|self|scrollTop|String|ii|construct|events|single|push|Untitled|We|know|what||debug||packed|closeInfo|http|400|follow|scroll_with|domReady|createElement|type|zA|Z0|appendChild|img|infoContainer|seperator|top|0px|resize|open|fadeOut|relify|WARNING|disable|overflow|hidden|embed|select|visibility|general|pause|slow|getPageScroll|xScroll|KeyboardNav_Disable|preloadNeighbours|slideDown|fast|KeyboardNav_Enable|do|KeyboardNav_Action|pageYOffset|scrollLeft|Date|amp|try|catch|value|fn|addClass|enabled|prototype|tagName|alt|dont|we|have|number||The|desired|doesn|exist|pack|Close|You|can|also|anywhere|outside|Direct|Click|Hover|Plugin|balupton|edition|Licenced|under|GNU|Affero|General|Public|License|com|plugins|project|jquerylightbox_bal|navigator|userAgent|MSIE|getElementsByTagName|browser|safari|head|www|savethedevelopers|org|say|ie|media|screen|javascript|append|br|infoHeader|button|position|absolute|resized|right|btnClose|started|but|300|occured|or|wanted|skip|few|steps|switch|isNaN|param|fromColor|toColor|cycles|isFade|500|default|Don|keydown|event|keyCode|DOM_VK_ESCAPE|fromCharCode|toLowerCase|pageXOffset'.split('|'),0,{}))
jquery_lightbox/readme.txt CHANGED
@@ -40,17 +40,124 @@ Refer to the source code of (index.xhtml) or (http://www.balupton.com/sandbox/jq
40
  Support:
41
  http://plugins.jquery.com/project/issues/jquerylightbox_bal
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  ----
44
 
45
  Changelog:
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  v1.2.1-final (August 1, 2008)
48
  - Made it easier to apply options.files - No longer have to modifiy the js location within the jquery.lightbox.js file
49
  reported by dec: http://plugins.jquery.com/node/3191
50
  - Fixed safari CSS bug
51
  reported by rgnelson and noYet: http://plugins.jquery.com/node/3254 , http://plugins.jquery.com/node/3314
52
  - Fixed XP IE7 double flash bug
53
- reported by sashabe and sheshnjak: http://plugins.jquery.com/node/1804
54
 
55
  v1.2.0-final (July 11, 2008)
56
  - Added support for the following options:
40
  Support:
41
  http://plugins.jquery.com/project/issues/jquerylightbox_bal
42
 
43
+ ----
44
+
45
+ Options:
46
+
47
+ Name: colorBlend
48
+ Description: Should we support colorBlend?
49
+ Values: null (default) - Enabled only if colorBlend is already detected
50
+ true - Include colorBlend and enable
51
+ false - Don't support colorBlend
52
+
53
+ Name: ie6_support
54
+ Description: Should we support IE6
55
+ Values: true (default) - Support IE6
56
+ false - Ignore IE6
57
+
58
+ Name: ie6_upgrade
59
+ Description: Should we show an IE6 upgrade message for IE6 users
60
+ Values: true (default) - Yes
61
+ false - No
62
+
63
+ Name: show_linkback
64
+ Description: Show or hide the linkback up the top right corner
65
+ Values: true (default) - Show the linkback
66
+ false - Hide the linkback
67
+
68
+ Name: scroll
69
+ Description: How should scrolling be handled?
70
+ Values: "follow" (default) - Scroll with the user
71
+ "disabled" - Don't allow scrolling
72
+ "ignore" - Don't care for scrolling (leave lightbox at original position)
73
+
74
+ Name: baseurl
75
+ Description: The baseurl to use to auto include the required files
76
+ Values: null (default) - Autodetect
77
+ string - A string of the manual baseurl to use
78
+
79
+ Name: files
80
+ Description: The javascript object that contains the locations of the requred files,
81
+ used if you have renamed files.
82
+ Children: js.lightbox, js.colorBlend, css.lightbox, images.prev, images.next, images.blank, images.loading
83
+
84
+ Name: text
85
+ Description: The javascript object that contains the text of various parts of the interface,
86
+ used if you want to do translations.
87
+ Children: image, of, close, closeInfo, download, help.close, help.interact, about.text, about.title, about.link
88
+
89
+ Name: keys
90
+ Description: The javascript object that contains the key allocations for shortcuts,
91
+ used if youw ant to remap the shortcuts
92
+ Children: close, prev, next
93
+
94
+ Name: opacity
95
+ Description: The opacity of the border
96
+ Values: 0.9 (default) - Have the overlay at 90%
97
+
98
+ Name: padding
99
+ Description: The padding around the image, if you are using a custom padding you want to adjust this
100
+ Values: null (default) - Autodetect
101
+
102
+ Name: speed
103
+ Description: The total amount of milliseconds it takes to perform transitions between images.
104
+ Values: 400 - Take 400 milliseconds
105
+
106
+ Name: rel
107
+ Description: What to look for in the rel tag of links and images to detect if it should have a lightbox
108
+ Values: "lightbox" (default) - Look for rel="lightbox" by default
109
+
110
+ Name: auto_relify
111
+ Description: Should we do an initial rel scan to automaticly detect lightboxes?
112
+ Values: true (default) - Yes we should
113
+ false - No we shouldn't
114
+
115
+ ----
116
+
117
+ How to apply options?
118
+
119
+ There are two methods, one is through the link form, and the other is through the constructor.
120
+ Use the below examples to derive how it is used to hide the linkback, and translate "Image" to "Photo".
121
+
122
+ Link method:
123
+ <script type="text/javascript" src="jquery_lightbox/js/jquery.lightbox.packed.js?show_linkback=false&amp;text.image=Photo"></script>
124
+
125
+ Constructor method:
126
+ <script type="text/javascript" src="jquery_lightbox/js/jquery.lightbox.packed.js"></script>
127
+ <script type="text/javascript">$(function(){
128
+ $.Lightbox.construct({
129
+ show_linkback: false,
130
+ text: {
131
+ image: 'Photo'
132
+ }
133
+ });
134
+ });</script>
135
+
136
+
137
  ----
138
 
139
  Changelog:
140
 
141
+ v1.3.0-rc1 (August 24, 2008)
142
+ - Added colorBlend support, so if used, the background-color of the overlay will be that of the image.
143
+ colorBlend's page: http://plugins.jquery.com/project/colorBlend
144
+ - IE6 support is now back
145
+ Upgrade message is optional with the "ie6_upgrade" option
146
+ IE6 support is optional with the "ie6_support" option
147
+ - If the image is to big for the window, it is resized - also applies when resizing the window
148
+ - "scroll" option is now set to "follow" by default, and a new mode "disabled" has been added.
149
+ - Made it so that the image title is now a link to the image so that the image can be downloaded.
150
+ - Refer to the readme.txt for how to use options and what they do.
151
+ - Resize and reposition code has been redone, along with some of the showImage code.
152
+ - Many more tweaks and changes, this is a huge release.
153
+
154
  v1.2.1-final (August 1, 2008)
155
  - Made it easier to apply options.files - No longer have to modifiy the js location within the jquery.lightbox.js file
156
  reported by dec: http://plugins.jquery.com/node/3191
157
  - Fixed safari CSS bug
158
  reported by rgnelson and noYet: http://plugins.jquery.com/node/3254 , http://plugins.jquery.com/node/3314
159
  - Fixed XP IE7 double flash bug
160
+ reported by sashabe and sheshnjak: http://plugins.jquery.com/node/1804
161
 
162
  v1.2.0-final (July 11, 2008)
163
  - Added support for the following options:
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: Viper007Bond
3
  Donate link: http://www.viper007bond.com/donate/
4
  Tags: lightbox, jquery, gallery
5
- Requires at least: 2.5
6
  Stable tag: trunk
7
 
8
  Makes the native WordPress galleries introduced in WordPress 2.5 use jQuery Lightbox by balupton to display the fullsize images.
@@ -11,6 +11,10 @@ Makes the native WordPress galleries introduced in WordPress 2.5 use jQuery Ligh
11
 
12
  Makes the native WordPress galleries introduced in WordPress 2.5 use [jQuery Lightbox by balupton](http://plugins.jquery.com/project/jquerylightbox_bal) to display the fullsize images.
13
 
 
 
 
 
14
  == Installation ==
15
 
16
  ###Updgrading From A Previous Version###
@@ -49,6 +53,15 @@ Then just visit your admin area and activate the plugin. That's it!
49
 
50
  == ChangeLog ==
51
 
 
 
 
 
 
 
 
 
 
52
  **Version 1.0.0**
53
 
54
  * Initial release.
2
  Contributors: Viper007Bond
3
  Donate link: http://www.viper007bond.com/donate/
4
  Tags: lightbox, jquery, gallery
5
+ Requires at least: 2.6
6
  Stable tag: trunk
7
 
8
  Makes the native WordPress galleries introduced in WordPress 2.5 use jQuery Lightbox by balupton to display the fullsize images.
11
 
12
  Makes the native WordPress galleries introduced in WordPress 2.5 use [jQuery Lightbox by balupton](http://plugins.jquery.com/project/jquerylightbox_bal) to display the fullsize images.
13
 
14
+ **Demo**
15
+
16
+ A demo is available at [this plugin's homepage](http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/).
17
+
18
  == Installation ==
19
 
20
  ###Updgrading From A Previous Version###
53
 
54
  == ChangeLog ==
55
 
56
+ **Version 1.1.0**
57
+
58
+ * Update jquery_lightbox package. It now supports resizing images that are too large as well as not disabling IE6 support.
59
+ * Makes the lightbox gallery-aware, i.e. don't allow next/prev between image sets. Thanks to Benjamin "balupton" Lupton!
60
+
61
+ **Version 1.0.1**
62
+
63
+ * Better WordPress 2.6 support (i.e. when you have a moved plugins directory).
64
+
65
  **Version 1.0.0**
66
 
67
  * Initial release.