
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>jQuery slideViewerPro 1.5</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content=" "/>
<meta name="keywords" content=" " />

<style type="text/css">


body {
font-family: Verdana, sans-serif;
text-align: center;
margin: 0 0 6em 0;
padding: 0;
background: #fff;
color: black;
font-size: 62.5%; 						
}
#wrapp {
width: 710px;
text-align: left;
font-size: 1.1em;
margin: 1em auto;
padding: 0;
color: black;
}
h2 { border-bottom: 1px solid #cacaca; padding: 1em 0 0.8em 0; margin: 0 0 1em 0;}
h3 { padding: 1em 0; margin: margin: 3em 0 1em 0; border-bottom: 1px solid #cacaca;}

p a, ul#dwnlds  a {color: #ff0000;}
ul#dwnlds {margin: 0 0 3em 0;}

code {	
width:93%;	
font: normal 1em/1.3em 'Courier New', Courier, Fixed;
color: #000;
padding: 1em 0;
margin: 0;
display: block;
background-color: #fff;
white-space: pre;
overflow-x: auto;
}

</style>

<link rel="stylesheet" href="css/svwp_style.css" type="text/css" media="screen" /> 

<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>
<script src="js/jquery.slideViewerPro.1.5.js" type="text/javascript"></script>
<!-- Optional plugins  -->
<script src="js/jquery.timers.js" type="text/javascript"></script>
<!-- Syntax hl -->
<script src="http://www.gcmingati.net/wordpress/wp-content/themes/giancarlo-mingati/js/jquery-syntax/jquery.syntax.min.js" type="text/javascript" charset="utf-8"></script>



<script type="text/javascript">
$(window).bind("load", function() {
	$("div#my-folio-of-works").slideViewerPro({
		thumbs: 6, 
		autoslide: true, 
		asTimer: 3500, 
		typo: true,
		galBorderWidth: 0,
		thumbsBorderOpacity: 0, 
		buttonsTextColor: "#707070",
		buttonsWidth: 40,
		thumbsActiveBorderOpacity: 0.8,
		thumbsActiveBorderColor: "aqua",
		shuffle: true
		});
	$("div#basic").slideViewerPro();
	$("div#fewoptions").slideViewerPro({
		thumbs: 3, 
		thumbsPercentReduction: 20,
		galBorderWidth: 0,
		galBorderColor: "aqua",
		thumbsTopMargin: 10,
		thumbsRightMargin: 10,
		thumbsBorderWidth: 5,
		thumbsActiveBorderColor: "gold",
		thumbsActiveBorderOpacity: 0.8,
		thumbsBorderOpacity: 0,
		buttonsTextColor: "#707070",
		leftButtonInner: "<img src='http://www.gcmingati.net/wordpress/wp-content/uploads/larw.gif' />",
		rightButtonInner: "<img src='http://www.gcmingati.net/wordpress/wp-content/uploads/rarw.gif' />",
		autoslide: true, 
		typo: true
		});	
	$("div#noui").slideViewerPro({
		galBorderWidth: 0,
		autoslide: true, 
		thumbsVis: false,
		shuffle: true
		});	
	$("div#flickit").slideViewerPro({
		autoslide: true, 
		shuffle: true,
		asTimer: 3500, 
		thumbsActiveBorderColor: "silver",
		buttonsTextColor: "silver",
		typo: true,
		galBorderWidth: 0,
		thumbsBorderOpacity: 0 
		});	
		});

$(function(){
	/**
	I've seen many slideViewerPro users adding these lines too.
	They're only needed to highlight the syntax within this page,
	it's NOT part of the slideViewerPro plugin!
	*/
	$.syntax({root: 'http://www.gcmingati.net/wordpress/wp-content/themes/giancarlo-mingati/js/jquery-syntax/'});
});
</script>
</head>
<body>
<div id="wrapp">

<h2 style="letter-spacing: -1px;">slideViewerPro 1.5<br />A 'pro' jQuery image slider built on a <em>single</em> unordered list.</h2>
	
<div id="my-folio-of-works" class="svwp">
<ul>
		<li><img alt="Meander - P.J. Onori" src="images/01.jpg" /></li>
		<li><img alt="Flock and Predator - L. Ongaro. slideViewerPro is a fully customizable jQuery image gallery engine wich allows to create outstanding sliding image galleries for your projects and/or interactive galleries within blog posts."  src="images/02.jpg" /></li>
		<li><img alt="Empathy - K. McDonald"  src="images/03.jpg" /></li>
		<li><img alt="DIY 3D Scanner - K. McDonald. Note that while in autoslide mode, if a user clicks either on a thumbnail or a left/right button, the slider sets itself in manual mode. No, it won't start sliding again automatically for any reason."  src="images/04.jpg" /></li>
		<li><img alt="Anemone - G.C. Mingati. Ci basti sapere che per ottenere questo movimento organic-like dei tentacoli del nostro anemone marino, ho applicato il metodo dello steering vector ad una serie di particelle contenute in 110 ArralyList (s) (particle Systems) con differente massa."  src="images/05.jpg" /></li>
		<li><img alt="Coronal Loops - G.C. Mingati"  src="images/06.jpg" /></li>
		<li><img alt="openProcessing - Exhibition Space for Processing Community - Sinan Ascioglu"  src="images/07.jpg" /></li>
		<li><img alt="magnet-ink - G.C. Mingati"  src="images/08.jpg" /></li>
		<li><img alt="Emitter - G.C. Mingati"  src="images/09.jpg" /></li>
		<li><img alt="Alien Blob - J. Bumgardner"  src="images/10.jpg" /></li>
		<li><img alt="Live Input - G.C. Mingati"  src="images/11.jpg" /></li>
		<li><img alt="House of Cards, 2008 - James Frost, Director of Technology Aaron Koblin"  src="images/12.jpg" /></li>
		<li><img alt="Visualizing Amsterdam SMS Messages, 2007-2009 - Aaron Koblin. A visualization tool for SMS messages. Data studies with MIT Senseable City Lab, Salzburg University Z_GIS and Current City. Data provided by KPN Mobile. Interactive tool built with Processing and OpenGL."  src="images/13.jpg" /></li>
</ul>
</div>

<h3>Cool! What's this?</h3>
<p><b>slideViewerPro</b> is a fully customizable jQuery image gallery engine wich allows to create outstanding sliding image galleries for your projects and/or interactive galleries within blog posts.</p>
<p>slideViewerPro is the direct descendant of the popular <a href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html">jQuery slideViewer plugin</a>.</p>

<p>Each gallery generates a user-defined number of thumbnails wich can slide automatically (see <em>Settings and Dependencies</em> section); as with slideViewer, everthing is generated 
by writing <b>just few lines</b> of HTML such as <b>an unordered list</b> of images.</p>

<pre class="syntax brush-html">
&lt;div id=&quot;my-folio-of-works&quot; class=&quot;svwp&quot;&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;img alt=&quot;Meander - P.J. Onori&quot;  src=&quot;images/01.jpg&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;img alt=&quot;Flock and Predator - L. Ongaro&quot;  src=&quot;images/02.jpg&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;img alt=&quot;Empathy - K. McDonald&quot;  src=&quot;images/03.jpg&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;img alt=&quot;DIY 3D Scanner - K. McDonald&quot;  src=&quot;images/04.jpg&quot; /&gt;&lt;/li&gt;
		&lt;!--eccetera--&gt;
	&lt;/ul&gt;
&lt;/div&gt;	
</pre>
<h3>Setup</h3>
<p>slideViewerPro <b>requires</b> 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 <b>unique ID</b> and <b>CLASS swvp</b>.
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("load") function ensures 
that ALL the images are loaded before calling the script and also it makes the built-in preloader to work.</p>
<p><b>Did you know?</b> You don't need to specify the width and height of your images but all the images within a single gallery must have the <b>same</b> 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="syntax javascript">
&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="syntax javascript">
$(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>
<h3>Settings and Dependencies</h3>
<p>slideViewerPro main images and thumbnails may slide <b>automatically</b> as in our first example gallery, at the top of this page.</p>
<p>As you can see in the code above, setting to <b>true</b> the value of the <b>autoslide</b> parameter and giving <b>3500</b>  (milliseconds) as the value of the <b>asTimer</b> parameter makes the slider to start sliding automatically.  
To achieve such effect we <b>need</b> to include another jQuery plugin: <a href="http://plugins.jquery.com/project/timers">jQuery Timers</a>.</p>
<p><b>Note:</b> This is not required if you plan to use slideViewerPro always in manual mode; also note that while in autoslide mode, if a user clicks either on a <b>thumbnail</b> or a <b>left/right button</b>, the slider sets itself in <b>manual</b> mode. No, it won't start sliding again automatically for any reason.</p>
<pre class="syntax javascript">
&lt;!-- Optional plugins  --&gt;
&lt;script src=&quot;js/jquery.timers.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>slideViewerPro is fully customizable, to better fit the color scheme and to define the timing of slide transitions:</p>
<pre class="syntax javascript">
// 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>

<h3>Usecase 1 -  default mode</h3>

<p>The markup (applies to all usecases)</p>
<pre class="syntax brush-html">
&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>

<div id="basic" class="svwp">
	<ul>
		<li><img width="710" height="290" alt="Meander - P.J. Onori"  src="images/01.jpg" /></li>
		<li><img width="710" height="290" alt="Flock and Predator - L. Ongaro"  src="images/02.jpg" /></li>
		<li><img width="710" height="290" alt="Empathy - K. McDonald"  src="images/03.jpg" /></li>
		<li><img width="710" height="290" alt="DIY 3D Scanner - K. McDonald"  src="images/04.jpg" /></li>
		<li><img width="710" height="290" alt="Anemone - G.C. Mingati"  src="images/05.jpg" /></li>
		<li><img width="710" height="290" alt="Coronal Loops - G.C. Mingati"  src="images/06.jpg" /></li>
		<li><img width="710" height="290" alt="openProcessing - Exhibition Space for Processing Community - Sinan Ascioglu"  src="images/07.jpg" /></li>
		<li><img width="710" height="290" alt="magnet-ink - G.C. Mingati"  src="images/08.jpg" /></li>
		<li><img width="710" height="290" alt="Emitter - G.C. Mingati"  src="images/09.jpg" /></li>
		<li><img width="710" height="290" alt="Alien Blob - J. Bumgardner"  src="images/10.jpg" /></li>
		<li><img width="710" height="290" alt="Live Input - G.C. Mingati"  src="images/11.jpg" /></li>
		<li><img width="710" height="290" alt="House of Cards, 2008 - James Frost, Director of Technology Aaron Koblin"  src="images/12.jpg" /></li>
		<li><img width="710" height="290" alt="Visualizing Amsterdam SMS Messages, 2007-2009 - Aaron Koblin"  src="images/13.jpg" /></li>
		<li><img width="710" height="290" alt="Meander - P.J. Onori"  src="images/01.jpg" /></li>
		<li><img width="710" height="290" alt="Flock and Predator - L. Ongaro"  src="images/02.jpg" /></li>
		<li><img width="710" height="290" alt="Empathy - K. McDonald"  src="images/03.jpg" /></li>
		<li><img width="710" height="290" alt="DIY 3D Scanner - K. McDonald"  src="images/04.jpg" /></li>
		<li><img width="710" height="290" alt="Anemone - G.C. Mingati"  src="images/05.jpg" /></li>
		<li><img width="710" height="290" alt="Coronal Loops - G.C. Mingati"  src="images/06.jpg" /></li>
		<li><img width="710" height="290" alt="openProcessing - Exhibition Space for Processing Community - Sinan Ascioglu"  src="images/07.jpg" /></li>
		<li><img width="710" height="290" alt="magnet-ink - G.C. Mingati"  src="images/08.jpg" /></li>
		<li><img width="710" height="290" alt="Emitter - G.C. Mingati"  src="images/09.jpg" /></li>
		<li><img width="710" height="290" alt="Alien Blob - J. Bumgardner"  src="images/10.jpg" /></li>
		<li><img width="710" height="290" alt="Live Input - G.C. Mingati"  src="images/11.jpg" /></li>
		<li><img width="710" height="290" alt="House of Cards, 2008 - James Frost, Director of Technology Aaron Koblin"  src="images/12.jpg" /></li>
		<li><img width="710" height="290" alt="Visualizing Amsterdam SMS Messages, 2007-2009 - Aaron Koblin"  src="images/13.jpg" /></li>
	</ul>
</div>

<pre class="syntax javascript">
$(window).bind(&quot;load&quot;, function() {
	$(&quot;div#basic&quot;).slideViewerPro();
});
</pre>

<h3>Usecase 2 -  autoslide, typographic info, custom buttons images, custom thumbnails size</h3>
<div id="fewoptions" class="svwp">
	<ul>
		<li><img alt="Meander - P.J. Onori"  src="images/01.jpg" /></li>
		<li><img alt="Flock and Predator - L. Ongaro"  src="images/02.jpg" /></li>
		<li><img alt="Empathy - K. McDonald"  src="images/03.jpg" /></li>
		<li><img alt="DIY 3D Scanner - K. McDonald"  src="images/04.jpg" /></li>
		<li><img alt="Anemone - G.C. Mingati"  src="images/05.jpg" /></li>
		<li><img alt="Coronal Loops - G.C. Mingati"  src="images/06.jpg" /></li>
		<li><img alt="openProcessing - Exhibition Space for Processing Community - Sinan Ascioglu"  src="images/07.jpg" /></li>
		<li><img alt="magnet-ink - G.C. Mingati"  src="images/08.jpg" /></li>
		<li><img alt="Emitter - G.C. Mingati"  src="images/09.jpg" /></li>
		<li><img alt="Alien Blob - J. Bumgardner"  src="images/10.jpg" /></li>
		<li><img alt="Live Input - G.C. Mingati"  src="images/11.jpg" /></li>
		<li><img alt="House of Cards, 2008 - James Frost, Director of Technology Aaron Koblin"  src="images/12.jpg" /></li>
		<li><img alt="Visualizing Amsterdam SMS Messages, 2007-2009 - Aaron Koblin"  src="images/13.jpg" /></li>
	</ul>
</div>

<pre class="syntax javascript">
	$(&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>

<h3>Usecase 3 -  autoslide, shuffled list, without user interface</h3>
<div id="noui" class="svwp">
	<ul>
		<li><img alt="Meander - P.J. Onori"  src="images/01.jpg" /></li>
		<li><img alt="Flock and Predator - L. Ongaro"  src="images/02.jpg" /></li>
		<li><img alt="Empathy - K. McDonald"  src="images/03.jpg" /></li>
		<li><img alt="DIY 3D Scanner - K. McDonald"  src="images/04.jpg" /></li>
		<li><img alt="Anemone - G.C. Mingati"  src="images/05.jpg" /></li>
		<li><img alt="Coronal Loops - G.C. Mingati"  src="images/06.jpg" /></li>
		<li><img alt="openProcessing - Exhibition Space for Processing Community - Sinan Ascioglu"  src="images/07.jpg" /></li>
		<li><img alt="magnet-ink - G.C. Mingati"  src="images/08.jpg" /></li>
		<li><img alt="Emitter - G.C. Mingati"  src="images/09.jpg" /></li>
		<li><img alt="Alien Blob - J. Bumgardner"  src="images/10.jpg" /></li>
		<li><img alt="Live Input - G.C. Mingati"  src="images/11.jpg" /></li>
		<li><img alt="House of Cards, 2008 - James Frost, Director of Technology Aaron Koblin"  src="images/12.jpg" /></li>
		<li><img alt="Visualizing Amsterdam SMS Messages, 2007-2009 - Aaron Koblin"  src="images/13.jpg" /></li>
	</ul>
</div>

<pre class="syntax javascript">
	$(&quot;div#noui&quot;).slideViewerPro({
		galBorderWidth: 0,
		autoslide: true, 
		thumbsVis: false,
		shuffle: true
		});	
</pre>

<h3>CSS</h3>
<p>slideViewerPro depends on its stylesheet file for proper rendering. The file must be included as shown above (see <em>Setup</em> section)</p>
<pre class="syntax 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)*/
color: #000;
font: normal 10px Verdana;
}

.thumbSlider { /*the thumbnails slider contanier*/
overflow: hidden;
width: 100%;
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;
width:41px;
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>

<h3>With vertical images (from my Flickr photostream)</h3>
<div id="flickit" class="svwp">
<ul>
	<li><img alt="This photo was taken on March 14, 2010 using a Nokia 5220 XpressMusic" src="http://farm5.static.flickr.com/4130/4947909184_f2d13c6ef3.jpg" /></li>
	<li><img alt="Lorem Ipsum has been the industry's standard dummy text ever since the 1500s" src="http://farm5.static.flickr.com/4110/4947907052_16fd2c8390.jpg" /></li>
	<li><img alt="When an unknown printer took a galley of type and scrambled it to" src="http://farm5.static.flickr.com/4123/4947907038_28ea9ce6d2.jpg" /></li>
	<li><img alt="Make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset" src="http://farm5.static.flickr.com/4146/4947907032_da2e572b10.jpg" /></li>
	<li><img alt="Sheets containing Lorem Ipsum passages" src="http://farm5.static.flickr.com/4017/4435154818_d00d8ce21d.jpg" /></li>
	<li><img alt="And more recently" src="http://farm5.static.flickr.com/4115/4947312933_bcd6f12443.jpg" /></li>
	<li><img alt="with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." src="http://farm5.static.flickr.com/4086/4947312921_bea69dfe4a.jpg" /></li>
	<li><img alt="but also NetBeans includes it" src="http://farm3.static.flickr.com/2730/4434378885_61cbe8905b.jpg" /></li>
	<li><img alt="When an unknown printer took a galley of type and scrambled it to" src="http://farm3.static.flickr.com/2736/4435154530_e9e8e1cb07.jpg" /></li>
	<li><img alt="Lorem Ipsum has been the industry's standard dummy text ever since the 1500s" src="http://farm5.static.flickr.com/4037/4435152944_878f4b84e9.jpg" /></li>
	<li><img alt="This photo was taken on May 1, 2010 using a Nokia 5220 XpressMusic" src="http://farm5.static.flickr.com/4022/4435152884_6cf4a1c18c.jpg" /></li>
	<li><img alt="When an unknown printer took a galley of type" src="http://farm3.static.flickr.com/2691/4434377023_e1b8e18464.jpg" /></li>
	<li><img alt="Software" src="http://farm5.static.flickr.com/4019/4434376805_c002b9aaf7.jpg" /></li>
	<li><img alt="Nokia 5220 XpressMusic" src="http://farm5.static.flickr.com/4034/4435152464_c5cba47edb.jpg" /></li>
	<li><img alt="It has survived not only five centuries, but also the leap into" src="http://farm3.static.flickr.com/2726/4435144616_db4d776c15.jpg" /></li>
</ul>
</div>

<h3>Preloader</h3>
<p>slideViewerPro and slideViewer share the same 'preloading' 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's how it works and what to <b>remember</b> when installing your own slideViewerPro: 
I used the two built-in <b>ready(fn)</b> and <b>load(fn)</b> 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 <b>.svwp</b> and use the method prepend() to insert inside that DIV a 'loader image' (.gif).
The tricky part here, is to <b>hide</b> the list of images during this preload period: this is accomplished by shifting to the left ('very' left: -999em) of the page (see <em>.svwp ul</em> 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't work in Opera) and insert an animated gif to show that 'it is loading'.
Then, i used the second event handler - wich waits the page to be fully loaded, including graphics - 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 <b>line 26</b>. There you'll find the path of my preloader image (images/svwloader.gif); be sure to <b>modify</b> that line so that it points to your own preloader gif in your folder of images.</p>
<p>At <b>line 26</b> of the jquery.slideViewerPro.1.0.js file, adjust the path of the preloader image:</p>
<pre class="syntax javascript">
jQuery(function(){
   jQuery(&quot;div.svwp&quot;).prepend(&quot;&lt;img src='my_images_folder/svwloader.gif' class='ldrgif' alt='loading...'/ &gt;&quot;);
});
</pre>
<h3>Downloads</h3>

	<ul id="dwnlds">
		<li><a href="js/jquery.slideViewerPro.1.5.js">jquery.slideViewerPro.1.5.js</a></li>
		<li><a href="http://plugins.jquery.com/project/timers">jquery.timers.js</a> (optional) </li>
		<li><a href="css/svwp_style.css">svwp_style.css</a></li>
		<li><a href="images/svwloader.gif">the preloader image</a></li>
	</ul>

<h3>Updates</h3>

	<p>Aug. 2nd, 2011 - slideViewer Pro (v1.5) is now compatible with jQuery 1.6.</p>

<p style="margin-top: 2em; color: #707070"><em>All images used in this tutorial are copyrighted material. Credits goes to their respective owners: James Frost, Aaron Koblin, the openprocessing.org members</em></p>
<p><small>2007-2011 Gian Carlo Mingati | design and development for interactive media</small></p>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-2064812-9");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>