<?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>jQuery Tutorials &#38; Plugins &#187; image slider</title>
	<atom:link href="http://jqueryblog.net/tag/image-slider/feed/" rel="self" type="application/rss+xml" />
	<link>http://jqueryblog.net</link>
	<description></description>
	<lastBuildDate>Mon, 05 Jul 2010 08:45:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>jQuery slideViewerPro : A &#8220;pro&#8221; jQuery image slider</title>
		<link>http://jqueryblog.net/2009/11/jquery-slideviewerpro-a-pro-jquery-image-slider/</link>
		<comments>http://jqueryblog.net/2009/11/jquery-slideviewerpro-a-pro-jquery-image-slider/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 08:57:04 +0000</pubDate>
		<dc:creator>Osman Erdo&#287;an</dc:creator>
				<category><![CDATA[jQuery Plugin]]></category>
		<category><![CDATA[jQuery Tutorial]]></category>
		<category><![CDATA[image slider]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[slideViewerPro]]></category>

		<guid isPermaLink="false">http://jqueryblog.net/?p=34</guid>
		<description><![CDATA[
slideViewerPro is a fully customizable jQuery image gallery engine which allows to create outstanding sliding image galleries for your projects and/or interactive galleries within blog posts. Each gallery generates a user-defined number of thumbnails which can slide automatically.
Setup
slideViewerPro requires jquery-1.3 or greater and its CSS file.
To create your gallery just copy-and-paste the above markup. Each gallery [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjqueryblog.net%2F2009%2F11%2Fjquery-slideviewerpro-a-pro-jquery-image-slider%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjqueryblog.net%2F2009%2F11%2Fjquery-slideviewerpro-a-pro-jquery-image-slider%2F" height="61" width="51" /></a></div><p><img class="alignnone size-full wp-image-35" title="jQuery slideViewerPro" src="http://jqueryblog.net/wp-content/uploads/2009/11/temp1.png" alt="jQuery slideViewerPro" width="450" height="218" /></p>
<p>slideViewerPro is a fully customizable jQuery image gallery engine which allows to create outstanding sliding image galleries for your projects and/or interactive galleries within blog posts. Each gallery generates a user-defined number of thumbnails which can slide automatically.</p>
<p><strong>Setup</strong></p>
<p>slideViewerPro <strong>requires</strong> jquery-1.3 or greater and its CSS file.</p>
<p>To create your gallery just copy-and-paste the above markup. Each gallery must be written inside a DIV with an <strong>unique ID</strong> and <strong>CLASS swvp</strong>. Then adjust the path for your images and include the jQuery framework, slideViewerPro.1.0.js and the CSS file inside the &lt;HEAD&gt; -here- &lt;/HEAD&gt; head tags of your page; then you can initialize the gallery (copy-and-paste the code below). The jQuery(window).bind(&#8221;load&#8221;) function ensures that ALL the images are loaded before calling the script and also it makes the built-in preloader to work.</p>
<p><strong>Did you know?</strong> You don&#8217;t need to specify the width and height of your images but all the images within a single gallery must have the <strong>same</strong> width/height; slideViewerPro automatically checks for the size and renders accordingly. Of course if you specify or force your images size, slideViewerPro will use such image property.</p>
<pre class="brush: xml;">&lt;link rel=&quot;stylesheet&quot; href=&quot;css/svwp_style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;script src=&quot;js/jquery-1.3.2.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/jquery.slideViewerPro.1.0.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre>
<pre class="brush: jscript;">$(window).bind(&quot;load&quot;, function() {
    $(&quot;div#my-folio-of-works&quot;).slideViewerPro({
        thumbs: 6,
        autoslide: true,
        asTimer: 3500,
        typo: true,
        galBorderWidth: 0,
        thumbsBorderOpacity: 0,
        buttonsTextColor: &quot;#707070&quot;,
        buttonsWidth: 40,
        thumbsActiveBorderOpacity: 0.8,
        thumbsActiveBorderColor: &quot;aqua&quot;,
        shuffle: true
    });
});</pre>
<p><strong>Settings and Dependencies</strong></p>
<pre class="brush: jscript;">// slideViewerPro options (defaults)
galBorderWidth: 6,  // the border width around the main images
thumbsTopMargin: 3, // the distance that separates the thumbnails and the buttons from the main images
thumbsRightMargin: 3, // the distance of each thumnail respect to the next one
thumbsBorderWidth: 3, // the border width of each thumbnail. Note that the border in reality is above, not around
buttonsWidth: 20, // the width of the prev/next buttons that commands the thumbnails
galBorderColor: &quot;#ff0000&quot;, // the border color around the main images
thumbsBorderColor: &quot;#d8d8d8&quot;, // the border color of the thumbnails but not the current one
thumbsActiveBorderColor: &quot;#ff0000&quot;, // the border color of the current thumbnail
buttonsTextColor: &quot;#ff0000&quot;, //the color of the optional text in leftButtonInner/rightButtonInner
thumbsBorderOpacity: 1.0, // could be 0, 0.1 up to 1.0
thumbsActiveBorderOpacity: 1.0, // could be 0, 0.1 up to 1.0
easeTime: 750, // the time it takes a slide to move to its position
asTimer: 4000, // if autoslide is true, this is the interval between each slide
thumbs: 5, // the number of visible thumbnails
thumbsPercentReduction: 12, // the percentual reduction of the thumbnails in relation to the original
thumbsVis: true, // with this option set to false, the whole UI (thumbs and buttons) are not visible
leftButtonInner: &quot;-&quot;, //could be an image &quot;&lt;img src='images/larw.gif' /&gt;&quot; or an escaped char as &quot;&amp;larr&quot;;
rightButtonInner: &quot;+&quot;, //could be an image or an escaped char as &quot;&amp;rarr&quot;;
autoslide: false, // by default the slider do not slides automatically. When set to true REQUIRES the jquery.timers plugin
typo: false, // the typographic info of each slide. When set to true, the ALT tag content is displayed
typoFullOpacity: 0.9, // the opacity for typographic info. 1 means fully visible.
shuffle: false // the LI items can be shuffled (randomly mixed) when shuffle is true</pre>
<p><strong>Usage 1 &#8211; Default Mode:</strong></p>
<pre class="brush: xml;">&lt;div id=&quot;basic&quot; class=&quot;svwp&quot;&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;Anemone - G.C. Mingati&quot;  src=&quot;images/05.jpg&quot; /&gt;&lt;/li&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;House of Cards, 2008 - James Frost, Director of Technology Aaron Koblin&quot;  src=&quot;images/12.jpg&quot; /&gt;&lt;/li&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;Emitter - G.C. Mingati&quot;  src=&quot;images/09.jpg&quot; /&gt;&lt;/li&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;Meander - P.J. Onori&quot;  src=&quot;images/01.jpg&quot; /&gt;&lt;/li&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;Empathy - K. McDonald&quot;  src=&quot;images/03.jpg&quot; /&gt;&lt;/li&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;DIY 3D Scanner - K. McDonald&quot;  src=&quot;images/04.jpg&quot; /&gt;&lt;/li&gt;
        &lt;li&gt;&lt;img width=&quot;710&quot; height=&quot;290&quot; alt=&quot;Coronal Loops - G.C. Mingati&quot;  src=&quot;images/06.jpg&quot; /&gt;&lt;/li&gt;
        &lt;!-- eccetera --&gt;
    &lt;/ul&gt;
&lt;/div&gt; </pre>
<p>In its simplest form, slideViewerPro can be used without specifying any option.</p>
<pre class="brush: jscript;">$(window).bind(&quot;load&quot;, function() {
    $(&quot;div#basic&quot;).slideViewerPro();
}); </pre>
<p><strong>Usage 2 : autoslide, typographic info, custom buttons images, custom thumbnails size</strong></p>
<pre class="brush: jscript;">$(&quot;div#fewoptions&quot;).slideViewerPro({
        thumbs: 3,
        thumbsPercentReduction: 20,
        galBorderWidth: 0,
        galBorderColor: &quot;aqua&quot;,
        thumbsTopMargin: 10,
        thumbsRightMargin: 10,
        thumbsBorderWidth: 5,
        thumbsActiveBorderColor: &quot;gold&quot;,
        thumbsActiveBorderOpacity: 0.8,
        thumbsBorderOpacity: 0,
        buttonsTextColor: &quot;#707070&quot;,
        leftButtonInner: &quot;&lt;img src='/wp-content/uploads/larw.gif' /&gt;&quot;,
        rightButtonInner: &quot;&lt;img src='/wp-content/uploads/rarw.gif' /&gt;&quot;,
        autoslide: true,
        typo: true
        });</pre>
<p><strong>Usage 3 : autoslide, shuffled list, without user interface</strong></p>
<pre class="brush: jscript;">$(&quot;div#noui&quot;).slideViewerPro({
        galBorderWidth: 0,
        autoslide: true,
        thumbsVis: false,
        shuffle: true
        });</pre>
<p><strong>CSS Code :</strong></p>
<pre class="brush: css;">.svwp {width: 50px; height: 20px; background: #fff;} /*preloader stuff. do not modify!*/
.svwp ul{position: relative; left: -999em;}/*preloader stuff. do not modify!*/
.slideViewer { /*this is the gallery container*/
position: relative;
overflow: hidden;
margin: 0;
padding: 0;
background: #fff;
}
.slideViewer ul {  /*this is your list of images*/
position: relative;
left: 0;
top: 0;
width: 1%;
list-style-type: none;
margin: 0;
padding: 0;
}
.slideViewer ul li { /*each LI item is floated; the whole list is now displayed as if its in one row*/
float:left;
} 

/*typographic info*/
.slideViewer span.typo{
padding: 6px; /* do not modify padding (yet)*/
background: #fff;
color: #000;
font: normal 10px Verdana;
} 

.thumbSlider { /*the thumbnails slider contanier*/
overflow: hidden;
width: 1%;
background: #fff;
}
.thumbSlider ul { /*the thumbnails list of images*/
list-style-type: none;
margin: 0;
padding: 0;
}
.thumbSlider ul li{
float:left;
margin: 0;
}
.thumbSlider a{ /*the link wrapped around each thumbnail. dynamically.*/
color: #fff;
text-decoration: none;
}
.thumbSlider a img{
border: 0;
display: block;
padding: 0;
}
.thumbSlider p.tmbrdr { /* the border above -not around- each thumb */
/* width, height and top values are dynamically added by the script. Do not modify. */
position:relative;
left: 0;
font-size: 0.01em;
left: 0;
margin: 0;
padding: 0;
} 

a.left, a.right { /*the left and right buttons (links)*/
background: transparent; /* could be any color  */
color: #ff0000;
font: bold 16px Arial;
overflow: hidden;
}
a.left span, a.right span{ 

}
a.left img, a.right img{
border: 0;
}
a.l_dis, a.r_dis {
background: transparent; /* ALWAYS leave transparent. this is the 'disabled' state of the link !  */
cursor: default;
}
a.l_dis span, a.r_dis span {
display: none;
}
a:focus {outline:none;} </pre>
<p><strong>Preloader:</strong></p>
<p>slideViewerPro and slideViewer share the same &#8216;<strong>preloading</strong>&#8216; technique.</p>
<p>It is an idea i had while developing the slideViewer plugin, when i was searching for a technique to preload the images; here&#8217;s how it works and what to remember when installing your own slideViewerPro: I used the two built-in ready(fn) and load(fn) event handlers to create a CSS-based preloader: the first event is fired as soon the page DOM is ready; that means we can read the className .svwp and use the method prepend() to insert inside that DIV a &#8216;loader image&#8217; (.gif). The tricky part here, is to hide the list of images during this preload period: this is accomplished by shifting to the left (&#8217;very&#8217; left: -999em) of the page (see .svwp ul in the stylesheet) the whole list. As soon as the DOM is ready, that class shifts the list outside of the window (setting display: none won&#8217;t work in Opera) and insert an animated gif to show that &#8216;it is loading&#8217;. Then, i used the second event handler &#8211; wich waits the page to be fully loaded, including graphics &#8211; to fire the initialization of the gallery; the gif is removed and the list is shifted back on the screen (left: 0). What to remember: when using your own copy of slideViewerPro, look at line 26. There you&#8217;ll find the path of my preloader image (images/svwloader.gif); be sure to modify that line so that it points to your own preloader gif in your folder of images.</p>
<p>At line 26 of the <strong>jquery.slideViewerPro.1.0.js</strong> file, adjust the path of the preloader image:</p>
<pre class="brush: jscript;">jQuery(function(){
   jQuery(&quot;div.svwp&quot;).prepend(&quot;&lt;img src='my_images_folder/svwloader.gif' class='ldrgif' alt='loading...'/ &gt;&quot;);
});</pre>
<p><strong>Downloads</strong><br />
<a href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/js/jquery.slideViewerPro.1.0.js" target="_blank">jquery.slideViewerPro.1.0.js</a><br />
<a href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/css/svwp_style.css" target="_blank">svwp_style.css</a><br />
<a href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/" target="_blank">the preloader image</a></p>
<p><a href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/images/svwloader.gif" target="_blank">Website</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryblog.net/2009/11/jquery-slideviewerpro-a-pro-jquery-image-slider/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>s3Slider jQuery Plugin &amp; Tutorial</title>
		<link>http://jqueryblog.net/2009/11/s3slider-jquery-plugin-tutorial/</link>
		<comments>http://jqueryblog.net/2009/11/s3slider-jquery-plugin-tutorial/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:47:16 +0000</pubDate>
		<dc:creator>Osman Erdo&#287;an</dc:creator>
				<category><![CDATA[jQuery Plugin]]></category>
		<category><![CDATA[jQuery Tutorial]]></category>
		<category><![CDATA[image slider]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[s3Slider]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://jqueryblog.net/?p=22</guid>
		<description><![CDATA[The s3Slider jQuery plugin is made by example of jd`s smooth slide show script.
Usage:
&#60;script src=&#34;js/jquery.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script src=&#34;js/s3Slider.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
HTML:
&#60;div id=&#34;s3slider&#34;&#62;
   &#60;ul id=&#34;s3sliderContent&#34;&#62;
      &#60;li class=&#34;s3sliderImage&#34;&#62;
          &#60;img src=&#34;#&#34; /&#62;
          &#60;span&#62;Your text comes here&#60;/span&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjqueryblog.net%2F2009%2F11%2Fs3slider-jquery-plugin-tutorial%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjqueryblog.net%2F2009%2F11%2Fs3slider-jquery-plugin-tutorial%2F" height="61" width="51" /></a></div><p>The s3Slider jQuery plugin is made by example of jd`s smooth slide show script.</p>
<p><strong>Usage:</strong></p>
<pre class="brush: jscript;">&lt;script src=&quot;js/jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/s3Slider.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre>
<p><strong>HTML:</strong></p>
<pre class="brush: xml;">&lt;div id=&quot;s3slider&quot;&gt;
   &lt;ul id=&quot;s3sliderContent&quot;&gt;
      &lt;li class=&quot;s3sliderImage&quot;&gt;
          &lt;img src=&quot;#&quot; /&gt;
          &lt;span&gt;Your text comes here&lt;/span&gt;
      &lt;/li&gt;
      &lt;li class=&quot;s3sliderImage&quot;&gt;
          &lt;img src=&quot;#&quot; /&gt;
          &lt;span&gt;Your text comes here&lt;/span&gt;
      &lt;/li&gt;
      &lt;div class=&quot;clear s3sliderImage&quot;&gt;&lt;/div&gt;
   &lt;/ul&gt;
&lt;/div&gt;</pre>
<p><strong>Sample CSS:</strong></p>
<pre class="brush: css;">#s3slider {
   width: 400px; /* important to be same as image width */
   height: 300px; /* important to be same as image height */
   position: relative; /* important */
   overflow: hidden; /* important */
}

#s3sliderContent {
   width: 400px; /* important to be same as image width or wider */
   position: absolute; /* important */
   top: 0; /* important */
   margin-left: 0; /* important */
}

.s3sliderImage {
   float: left; /* important */
   position: relative; /* important */
   display: none; /* important */
}

.s3sliderImage span {
   position: absolute; /* important */
   left: 0;
   font: 10px/15px Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 374px;
   background-color: #000;
   filter: alpha(opacity=70); /* here you can set the opacity of box with text */
   -moz-opacity: 0.7; /* here you can set the opacity of box with text */
   -khtml-opacity: 0.7; /* here you can set the opacity of box with text */
   opacity: 0.7; /* here you can set the opacity of box with text */
   color: #fff;
   display: none; /* important */
   top: 0;

   /*
       if you put
       top: 0; -&gt; the box with text will be shown at the top of the image
       if you put
       bottom: 0; -&gt; the box with text will be shown at the bottom of the image
   */
}

.clear {
   clear: both;
}</pre>
<p><strong>Inside in HTML:</strong></p>
<pre class="brush: jscript;">$(document).ready(function() {
   $('#s3slider').s3Slider({
      timeOut: 4000
   });
});</pre>
<p><em><strong>timeOut</strong></em>: values in miliseconds&#8230;</p>
<p><a href="http://serie3.info/s3slider/demonstration.html" target="_blank">Example</a> &#8211; <a href="http://serie3.info/s3slider/index.php" target="_blank">Website</a></p>
<p><strong>Download</strong></p>
<p><a href="http://serie3.info/s3slider/style/code/s3SliderFull.rar" target="_blank">Full version (with examples)</a> (size: 574kb)<br />
<a href="http://serie3.info/s3slider/style/code/s3Slider.rar" target="_blank">Uncompressed version</a> (size: 4.12kb)<br />
<a href="http://serie3.info/s3slider/style/code/s3SliderPacked.rar" target="_blank">Compressed version</a> (size: 1.66kb)</p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryblog.net/2009/11/s3slider-jquery-plugin-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

