<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>(function() { &#187; gallery</title>
	<atom:link href="http://maxb.net/blog/tag/gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxb.net/blog</link>
	<description>// MAXB.NET LABS</description>
	<lastBuildDate>Mon, 16 May 2011 19:12:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jbgallery 2.0</title>
		<link>http://maxb.net/blog/2010/03/29/jbgallery-2-0/</link>
		<comments>http://maxb.net/blog/2010/03/29/jbgallery-2-0/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 14:48:42 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jbgallery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=616</guid>
		<description><![CDATA[ATTENTION : jbgallery 3.0 BETA DEMO SITE &#8211; (UPDATED 2010-12-20) jbgallery is a UI widget webpage written in javascript on top of the jQuery library. Its function is to show a single big image, multiple images, multiple galleries, slideshows, as &#8230; <a href="http://maxb.net/blog/2010/03/29/jbgallery-2-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div style="text-align:center;font-weight:bold;border:3px dashed red;padding:5px;">
ATTENTION : <a href="http://maxb.net/blog/2010/12/19/jbgallery-3-0/">jbgallery 3.0 BETA</a>
</div>
<p><a href="/scripts/old/jbgallery-2.0/" target="_blank">DEMO SITE</a> &#8211; <strong>(UPDATED 2010-12-20)</strong></p>
<p>
   jbgallery is a UI widget webpage written in javascript on top of the jQuery library.<br />
    Its function is to show a single big image, multiple images, multiple galleries, slideshows, as a site&#8217;s background, in a &#8220;dialog&#8221; mode or as a common pop-up.<br />
    jbgallery has two basic menus: the first one has music player buttons while the other one links  directly to single images.<br />
    I added a &#8220;complex&#8221; menu on the 2.0 version, which in inspired by the <a href="http://www.flickr.com/search/show/?q=assisi" class="blank">flickr</a> slider-equipped slideshow that allows to scroll the thumbnail previews.<br />
    jbgallery provides a pubblic API to remote control the component, so it would be easier to bind also with a more complex menu.</p>
<p>    Examples:
    </p>
<ul>
<li>Option &#8220;style&#8221;:
<ul>
<li><a href="/scripts/old/jbgallery-2.0/docs/centered.html" class="blank">centered</a> (default)</li>
<li><a href="/scripts/old/jbgallery-2.0/docs/zoom.html" class="blank">zoom</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/original.html" class="blank">original</a> (NEW : 2010-09-01)</li>
</ul>
</li>
<li>Option &#8220;menu&#8221;:
<ul>
<li><a href="/scripts/old/jbgallery-2.0/docs/menuslider.html" class="blank">slider</a> (default) *NEW</li>
<li><a href="/scripts/old/jbgallery-2.0/docs/numbers.html" class="blank">numbers</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/simple.html" class="blank">simple</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/nomenu.html" class="blank">nothing</a> (slideshow true, use arrows)</li>
</ul>
</li>
<li><a href="/scripts/old/jbgallery-2.0/docs/background.html" class="blank">Single image background</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/bgcentered.html" class="blank">Single image centered</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/multi.html" class="blank">Multi &#8220;fullscreen lightbox&#8221; gallery (2010-12-15 &#8211; update)</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/randomize.html" class="blank">Randomize first image (2010-12-15 &#8211; update)</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/randomize_slideshow.html" class="blank">Randomize slideshow (2010-12-15 &#8211; update)</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/popup_launcher.html" class="blank">&#8220;Fullscreen lightbox&#8221; vs Traditional popup  (2010-12-15 &#8211; update)</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/labels.html" class="blank">Custom labels</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/nofade.html" class="blank">No fade effect</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/nofade2.html" class="blank">No fade effect</a> (slider)</li>
<li><a href="/scripts/old/jbgallery-2.0/docs/interval.html" class="blank">Timers: interval</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/autohide.html" class="blank">Timers: autohide</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/callback.html" class="blank">Callback for developers</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/api.html" class="blank">Api for designer/developers</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/click.html" class="blank">Clickable</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/picasa.html" class="blank">Picasa adapter (NEW)</a></li>
<li><a href="/scripts/old/jbgallery-2.0/docs/picasa-album.html" class="blank">Picasa adapter (NEW)</a> (album)</li>
<li><a href="/scripts/old/jbgallery-2.0/docs/style_test.html" class="blank">Style test</a></li>
</ul>
<h2>Installation</h2>
<h3>Download and extract</h3>
<p><a href="/scripts/old/jbgallery-2.0/jbgallery-2.0.zip">jbgallery-2.0.zip</a> (<strong>update: 2010-12-20</strong>)</p>
<p>Download single files : </p>
<ul>
<li>jbgallery-2.0.js : <a href="/scripts/old/jbgallery-2.0/jbgallery-2.0.js" class="blank">source</a> | <a href="/scripts/old/jbgallery-2.0/jbgallery-2.0.min.js" class="blank">min</a></li>
<li><a href="/scripts/old/jbgallery-2.0/jbgallery-2.0.css" class="blank">jbgallery-2.0.css</a></li>
<li><a href="/scripts/old/jbgallery-2.0/ajax-loader.gif" class="blank">ajax-loader.gif</a></li>
<li><a href="/scripts/old/jbgallery-2.0/sprite.png" class="blank">sprite.png</a></li>
<li><a href="/scripts/old/jbgallery-2.0/jquery-1.4.2.min.js" class="blank">jquery-1.4.2.min.js</a></li>
</ul>
<p>Extra files : </p>
<ul>
<li>jbpicasa.js : <a href="/scripts/old/jbgallery-2.0/adapters/jbpicasa.js" class="blank">source</a> &#8211; test adapter that you can use building an html structure, getting data from an external rss feed.</li>
</ul>
<h3>js and css (include in head tag)</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;link href=&quot;jbgallery-2.0.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.1.4.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jbgallery-2.0.js&quot;&gt;&lt;/script&gt;
</pre>
<h3>HTML structure (minimal menu)</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;jbgallery&quot;&gt;
 &lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;1.jpg&quot; &gt;1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;2.jpg&quot; &gt;2&lt;/a&gt;&lt;/li&gt;
  &lt;!-- etc --&gt;
 &lt;/ul&gt;
&lt;/div&gt;
</pre>
<h3>HTML structure (thumbnails &#8211; menu with slider)</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;jbgallery&quot;&gt;
 &lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;big1.jpg&quot;&gt;&lt;img src=&quot;small1.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;big2.jpg&quot;&gt;&lt;img src=&quot;small2.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;!-- etc --&gt;
 &lt;/ul&gt;
&lt;/div&gt;
</pre>
<h3>HTML structure (caption)</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;jbgallery&quot;&gt;
 &lt;ul&gt;
  &lt;li&gt;
   &lt;a href=&quot;big.jpg&quot; title=&quot;Caption title&quot;&gt;&lt;img src=&quot;small.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
   &lt;div class=&quot;caption&quot;&gt;Long long long text&lt;/div&gt;
  &lt;/li&gt;
  &lt;!-- etc --&gt;
 &lt;/ul&gt;
&lt;/div&gt;
</pre>
<h3>JS</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(document).ready(function(){
  jQuery(&quot;.jbgallery&quot;).jbgallery();
});
&lt;/script&gt;
</pre>
<h2>OPTIONS &amp; DEFAULTS</h2>
<p>Write options HERE : </p>
<pre class="brush: jscript; title: ; notranslate">
 jQuery(&quot;.jbgallery&quot;).jbgallery({HERE});
</pre>
<div class="code">
    jQuery(&#8220;.jbgallery&#8221;).jbgallery({HERE});
</div>
<h3>DEFAULTS</h3>
<pre class="brush: jscript; title: ; notranslate">
{
  style     : &quot;centered&quot;,//centered, zoom, original
  menu      : 'slider', //false, numbers, simple, slider
  shortcuts : [37,39],
  slideshow : false,
  fade      : true,
  popup     : false,
  caption   : true,  //NEW 2.0
  autohide  : false, //NEW 2.0
  clickable : false, //NEW 2.0
  current   : 1,   //NEW 2.0
  randomize : 0,   //NEW 2.0
  webkit    : (navigator.userAgent.toLowerCase().search(/webkit/) != -1),
  ie6       : (/MSIE 6/i.test(navigator.userAgent)),
  ie7       : (/MSIE 7/i.test(navigator.userAgent)),
  labels    : {
    play : &quot;play&quot;,
    next : &quot;next&quot;,
    prev : &quot;prev&quot;,
    stop : &quot;stop&quot;,
    close: &quot;close&quot;,
    info : &quot;info&quot;
  },
  timers    : {
    fade      : 400,
    interval  : 7000,
    autohide  : 7000
  },
  delays    : {
    mousemove : 200,
    resize    : 500,
    mouseover : 800
  },
  close     : function(){},
  before    : function(){},
  after     : function(ev){},
  load      : function(ev){},
  ready      : function(){}
}
</pre>
<h3>OPTIONS</h3>
<ul>
<li>style : string (&#8216;zoom&#8217;/'centered&#8217;/'original&#8217;)</li>
<li>slideshow : boolean (true/false)</li>
<li>menu  : string/boolean (&#8216;slider&#8217;/'simple&#8217;/'numbers&#8217;/false)</li>
<li>caption : boolean (show info button in menu &#8211; NEW)</li>
<li>autohide: boolean (autohide interface &#8211; NEW)</li>
<li>clickable: boolean (NEW)</li>
<li>current: number (set the initial photo NEW)</li>
<li>randomize : numeric (0/1/2 &#8211; NEW &#8211; 0 default | 1 randomize first image | 2 randomize slidshow/prev/next &#8211; thanks to Carlo Denaro &#8211; blackout: http://www.grayhats.org)</li>
<li>fade  : boolean (false/true)</li>
<li>shortcuts : array (keycodes for trigger events left/right via keyboard)</li>
<li>before: function (callback)</li>
<li>load  : function(ev) (callback &#8211; native image load event)</li>
<li>after : function (callback)</li>
<li>ready : function (callback &#8211; interface ready)</li>
<li>popup : boolean (show close button)</li>
<li>close : function(ev) (callback after click close button. i.e. window.close())</li>
<li>labels: object &#8211; default:
<pre class="brush: jscript; title: ; notranslate">
{
   play : &quot;play&quot;,
   next : &quot;next&quot;,
   prev : &quot;prev&quot;,
   stop : &quot;stop&quot;,
   close: &quot;close&quot;,
   info : &quot;info&quot;
}
</pre>
</li>
<li>timers: object &#8211; default:
<pre class="brush: jscript; title: ; notranslate">
{
  fade      : 400,  //fadeIn-Out timer
  interval  : 7000, //slideshow timer
  autohide  : 7000  //autohide timer
}
</pre>
</li>
<li>delays: object &#8211; default:
<pre class="brush: jscript; title: ; notranslate">
{
  mousemove : 200,
  resize    : 500,
  mouseover : 800
}
</pre>
</li>
</ul>
<h3>API (developers/designers)</h3>
<ul>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(); // build object FIRST</li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;go&#8221; , 2); // go to photo 2 if exist </li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;left&#8221;); // prev photo </li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;right&#8221;); // next photo </li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;play&#8221;); // autoplay start </li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;stop&#8221;); // autoplay stop</li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;destroy&#8221;); // destroy object, events, expando</li>
<li>jQuery(&#8220;#jbgallery&#8221;).jbgallery(&#8220;current&#8221;); // return number of current photo</li>
</ul>
<h2>CONTENTS/FURTHER ELEMENTS</h2>
<p>
    To add to the image further contents or other kind of elements you can use the following div. Otherwise you can add other divs copying the styles below.
    </p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;jbg-content&quot;&gt;
    &lt;!-- PUT HERE CONTENT --&gt;
    &lt;div id=&quot;docs&quot;&gt;
        &lt;div class=&quot;wrapper&quot;&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;!-- /PUT HERE CONTENT --&gt;
&lt;/div&gt;
</pre>
<pre class="brush: css; title: ; notranslate">
#docs{width:500px;right:200px;top:15%;position:absolute;z-index:1000;}
#docs .wrapper{padding:10px;margin:10px;background:#fff;}
</pre>
<h2>BROWSERS TESTED</h2>
<ul>
<li>Firefox 3.5 (winxp/linux)</li>
<li>Safari 3.2, 4 (winxp)</li>
<li>Chrome/Chromium  (winxp/linux)</li>
<li>Opera 9/10/11 (winxp/linux)</li>
<li>Internet Explorer 6/7/8 (winxp)</li>
</ul>
<h2>DESIGN/GRAPHIC</h2>
<p>
    This component is published with a minimalist graphic layout.<br />
    You are free to customize css and to ask me any change to add classes to the simple menus edited by me.<br />
    If you use API or design more complex menus, or if you write plugins populating html lists via ajax by flickr<br />
    or similar services, please share with me for the next version of this plugin.
    </p>
<h2>CREDITS</h2>
<p>
        This work is inspired by <a href="http://www.ringvemedia.com/" class="blank">http://www.ringvemedia.com/</a> and <a href="http://www.chicchicken.cc/" class="blank">Chicca</a><br />
        The slider is inspired by <a href="http://www.flickr.com/search/show/?q=assisi" class="blank">http://www.flickr.com/search/show/</a><br />
        <br />
        Depends on jQuery (1.3.2/1.4.2) by <a href="http://ejohn.org/" class="blank">John Resig</a>.<br />
       <br />
        Thanks to <a href="http://www.grayhats.org/articles/34-opensource/144-intermediate-jbgallery-20-add-random-image-loading">Carlo Denaro</a>,  Simone Parato, Aaron Hutten, Alain Bourgeoa, Steffen Wenzel, krko.
    </p>
<h2>COMMENTS &amp; CONTACTS</h2>
<p>
    Post a comment on my blog. <br />
    <a href="http://maxb.net/blog/2010/03/29/jbgallery-2-0/">http://maxb.net/blog/</a>
    </p>
<h2>LICENSE</h2>
<p>
    Copyright (c) 2010 Massimiliano Balestrieri<br />
    Licensed GPL licenses:<br />
    <a href="http://www.gnu.org/licenses/gpl.html" class="blank">http://www.gnu.org/licenses/gpl.html</a>
    </p>
]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2010/03/29/jbgallery-2-0/feed/</wfw:commentRss>
		<slash:comments>121</slash:comments>
		</item>
		<item>
		<title>jbgallery 2.0 – preview</title>
		<link>http://maxb.net/blog/2010/03/25/jbgallery-2-0-preview/</link>
		<comments>http://maxb.net/blog/2010/03/25/jbgallery-2-0-preview/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:26:09 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jbgallery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=595</guid>
		<description><![CDATA[DEMO]]></description>
			<content:encoded><![CDATA[<p><a href="http://maxb.net/scripts/old/jbgallery-2.0/docs/menuslider.html" target="_blank">DEMO</a></p>
<p style="text-align: center;"><a href="http://maxb.net/scripts/jbgallery-2.0/docs/menuslider.html" target="_blank"><img class="aligncenter size-full " title="jbgallery2" src="http://maxb.net/blog/wp-content/uploads/2010/03/jbgallery2.jpg" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2010/03/25/jbgallery-2-0-preview/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jbgallery 1.0</title>
		<link>http://maxb.net/blog/2009/03/30/jbgallery-10/</link>
		<comments>http://maxb.net/blog/2009/03/30/jbgallery-10/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 12:18:30 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jbgallery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=272</guid>
		<description><![CDATA[ATTENTION : jbgallery 3.0 BETA DEMO SITE jbgallery is a webpage UI widget written in javascript on top of the jQuery library. Its function is to show a single big image, multiple images, multiple gallery, slideshow, as site&#8217;s background or &#8230; <a href="http://maxb.net/blog/2009/03/30/jbgallery-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div style="text-align:center;font-weight:bold;border:3px dashed red;padding:5px;">
ATTENTION : <a href="http://maxb.net/blog/2010/12/19/jbgallery-3-0/">jbgallery 3.0 BETA</a>
</div>
<p><a href="/scripts/old/jbgallery-1.0/" target="_blank">DEMO SITE</a></p>
<p>
    jbgallery is a webpage UI widget written in javascript on top of the jQuery library.<br />
    Its function is to show a single big image, multiple images, multiple gallery, slideshow, as site&#8217;s background or in &#8220;dialog&#8221; mode or as a common pop-up<br />
    jbgallery has two basic menus, one has music player buttons the other gives directly links to single images. <br />
    jbgallery provides a pubblic API to remote control the component, so it would be easier to bind also with a more complex menu (i.e. with thumbnails).</p>
<p>    Examples:
    </p>
<ul>
<li><a href="/scripts/old/jbgallery-1.0/docs/base.html" target="_blank">Default</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/centered.html" target="_blank">Image centered</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/background.html" target="_blank">Simple background</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/bgslideshow.html" target="_blank">Background slideshow</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/multi.html" target="_blank">Modal Multi gallery</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/popup_launcher.html" target="_blank">Modal vs simple popup</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/numbers.html" target="_blank">Menu with numbers</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/labels.html" target="_blank">Custom labels</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/nofade.html" target="_blank">No fade effect</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/test_ie.html" target="_blank">Test for ie</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/interval.html" target="_blank">Interval (slideshow)</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/callback.html" target="_blank">Callback for developer</a></li>
<li><a href="/scripts/old/jbgallery-1.0/docs/api.html" target="_blank">Api</a></li>
</ul>
<h2>Installation</h2>
<h3>Download and extract</h3>
<p><a href="/scripts/old/jbgallery-1.0/jbgallery-1.0.zip">jbgallery-1.0.zip</a></p>
<p>Or download single files : </p>
<ul>
<li>jbgallery-1.0.js : <a href="/scripts/old/jbgallery-1.0/jbgallery-1.0.js"  target="_blank">source</a> | <a href="/scripts/old/jbgallery-1.0/jbgallery-1.0.min.js"  target="_blank">min</a> | <a href="/scripts/old/jbgallery-1.0/jbgallery-1.0.pack.js"  target="_blank">packed</a></li>
<li><a href="/scripts/old/jbgallery-1.0/jbgallery.css"  target="_blank">jbgallery.css</a></li>
<li><a href="/scripts/old/jbgallery-1.0/ajax-loader.gif"  target="_blank">ajax-loader.gif</a></li>
<li><a href="/scripts/old/jbgallery-1.0/jquery-1.3.2.min.js"  target="_blank">jquery-1.3.2.min.js</a></li>
</ul>
<h3>Scripts js (include in head tag)</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.1.3.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jbgallery-1.0.min.js&quot;&gt;&lt;/script&gt;
</pre>
<h3>HTML structure</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;jbgallery&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;1.jpg&quot; title=&quot;alternative text&quot;&gt;1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;2.jpg&quot; title=&quot;alternative text&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
    &lt;!-- etc --&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre>
<h3>JS</h3>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(window).jbgcss(&quot;jbgallery.css&quot;);//customize url
jQuery(document).ready(function(){
  jQuery(&quot;.jbgallery&quot;).jbgallery();
});
&lt;/script&gt;
</pre>
<h2>OPTIONS &amp; DEFAULTS</h2>
<p>Write options HERE : </p>
<p><code class="javascript"><br />
    jQuery(".jbgallery").jbgallery({HERE});<br />
[/code]</p>
<h3>DEFAULTS</h3>
<pre class="brush: jscript; title: ; notranslate">
{
  style     :  &quot;zoom&quot;,    //&quot;centered&quot;, &quot;zoom&quot;
  slideshow :  false,
  menu      :  &quot;simple&quot;,  //false, &quot;numbers&quot;, &quot;simple&quot;
  interval  :  4000,
  fade      :  false,
  fade_time :  400,
  shortcuts :  [37,39],   //left and right arrows
  before    :  function(){}
  load      :  function(ev){},
  after     :  function(ev){},
  popup     :  false,
  close     :  function(ev){},
  labels    :  {
        play : &quot;play&quot;,
        next : &quot;next&quot;,
        prev : &quot;prev&quot;,
        stop : &quot;stop&quot;,
        close: &quot;close&quot;
  }
}
</pre>
<h3>OPTIONS</h3>
<ul>
<li>style : string ('zoom'/'centered')</li>
<li>slideshow : boolean (true/false)</li>
<li>menu : string/boolean ('simple'/'numbers'/false)</li>
<li>interval : number (milliseconds for slideshow)</li>
<li>fade : boolean (false/true)</li>
<li>fade_time : number (milliseconds for fadeIn/fadeOut effect)</li>
<li>shortcuts : array (keycodes for trigger events left/right via keyboard)</li>
<li>before : function (callback)</li>
<li>load : function(ev) (callback - native image load event)</li>
<li>after : function (callback)</li>
<li>popup : boolean (show close button)</li>
<li>close : function(ev) (callback after click close button. i.e. window.close())</li>
<li>labels: object - default:
<p>{<br />
   play : "play",<br />
   next : "next",<br />
   prev : "prev",<br />
   stop : "stop",<br />
   close: "close"<br />
}</li>
</ul>
<h3>API (developers/designers)</h3>
<ul>
<li>jQuery("#jbgallery").jbgallery(); // build object FIRST</li>
<li>jQuery("#jbgallery").jbgallery("go" , 2); // trigger event go, go to photo 2 if exist </li>
<li>jQuery("#jbgallery").jbgallery("left"); // trigger event left (prev) </li>
<li>jQuery("#jbgallery").jbgallery("right"); // trigger event right (next) </li>
<li>jQuery("#jbgallery").jbgallery("play"); // trigger event play - autoplay start </li>
<li>jQuery("#jbgallery").jbgallery("stop"); // trigger event stop - autoplay stop</li>
<li>jQuery("#jbgallery").jbgallery("destroy"); // destroy object, events, expando</li>
<li>jQuery("#jbgallery").jbgallery("current"); // return number of current photo</li>
</ul>
<h2>CONTENTS/FURTHER ELEMENTS</h2>
<p>
    To add to the image further contents or other kind of elements you can use the following div. Otherwise you can add other divs copying the styles below.
    </p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;jbg-content&quot;&gt;
    &lt;!-- PUT HERE CONTENT --&gt;
    &lt;div id=&quot;docs&quot;&gt;
        &lt;div class=&quot;wrapper&quot;&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;!-- /PUT HERE CONTENT --&gt;
&lt;/div&gt;
</pre>
<pre class="brush: css; title: ; notranslate">
#docs{width:500px;right:200px;top:15%;position:absolute;z-index:1000;}
#docs .wrapper{padding:10px;margin:10px;background:#fff;}
</pre>
<h2>BROWSERS TESTED</h2>
<ul>
<li>Firefox 3 (winxp/linux)</li>
<li>Safari 3.2, 4 (winxp)</li>
<li>Chrome 1/2 (winxp)</li>
<li>Opera 9.6/10 (winxp/linux)</li>
<li>Internet Explorer 6/7/8 (winxp)</li>
<li>Konqueror 4.2.1 (linux)</li>
</ul>
<h2>KNOWN BUGS</h2>
<h3>Opera</h3>
<p>
    I can't prevent on the keydown default event (arrows)  in Opera.<br />
    At "arrows" keydown that causes a pervers effect.<br />
    If you know a solution, please contact me. 
    </p>
<h2>DESIGN/GRAPHIC</h2>
<p>
    The component is published with a minimalist graphic layout.<br />
    You are free to customize css and to ask me any change to add classes to the simple menus edited by me.<br />
    If you use API or design more complex menus, or if you write plugins populating html lists via ajax by flickr<br />
    or similar services, please share with me for the next version of this plugin.
    </p>
<h2>CREDITS</h2>
<p>
        This work is inspired by <a href="http://www.ringvemedia.com/"  target="_blank">http://www.ringvemedia.com/</a> and <a href="http://www.chicchicken.cc/" target="_blank">Chicca</a><br />
        <br />
        Photos by <a href="http://www.flickr.com/photos/chiccafake/"  target="_blank">Chicca Vancini</a>.<br />
        Thanks to <a href="http://perassi.org"  target="_blank">Carlo</a>.<br />
        Depends by <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js"  target="_blank">jquery-1.3.2</a> by <a href="http://ejohn.org/"  target="_blank">John Resig</a>.
    </p>
<h2>LICENSE</h2>
<p>
    Copyright (c) 2009 Massimiliano Balestrieri<br />
    Licensed GPL licenses:<br />
    <a href="http://maxb.net"  target="_blank">http://www.gnu.org/licenses/gpl.html</a>
    </p>
]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2009/03/30/jbgallery-10/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
	</channel>
</rss>

