<?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>bavotasan.com &#187; Downloads</title>
	<atom:link href="http://bavotasan.com/category/downloads/feed/" rel="self" type="application/rss+xml" />
	<link>http://bavotasan.com</link>
	<description>by c.bavota</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:42:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Simple Textarea Word Counter jQuery Plugin</title>
		<link>http://bavotasan.com/2011/simple-textarea-word-counter-jquery-plugin/</link>
		<comments>http://bavotasan.com/2011/simple-textarea-word-counter-jquery-plugin/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 15:49:44 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[textarea]]></category>
		<category><![CDATA[word count]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=3707</guid>
		<description><![CDATA[I know there are a few textarea word counter jQuery plugins out there already, but I felt like building my own since I wasn&#8217;t a fan of the ones that are available. Nothing new here but I did my best at making it as simple to use and efficient as possible. /** * jQuery.textareaCounter * [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bavotasan.com/wp-content/uploads/2011/10/textareacounter_big.jpg" alt="" title="textareacounter_big" width="550" height="200" class="aligncenter size-full wp-image-3713" />I know there are a few textarea word counter jQuery plugins out there already, but I felt like building my own since I wasn&#8217;t a fan of the ones that are available. Nothing new here but I did my best at making it as simple to use and efficient as possible.</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/**
 * jQuery.textareaCounter
 * Version 1.0
 * Copyright (c) 2011 c.bavota - http://bavotasan.com
 * Dual licensed under MIT and GPL.
 * Date: 10/20/2011
**/</span>
<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$.<span style="color: #660066;">fn</span>.<span style="color: #660066;">textareaCounter</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">// setting the defaults</span>
		<span style="color: #006600; font-style: italic;">// $(&quot;textarea&quot;).textareaCounter({ limit: 100 });</span>
		<span style="color: #003366; font-weight: bold;">var</span> defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
			limit<span style="color: #339933;">:</span> <span style="color: #CC0000;">100</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>	
		<span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> $.<span style="color: #660066;">extend</span><span style="color: #009900;">&#40;</span>defaults<span style="color: #339933;">,</span> options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">// and the plugin begins</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #003366; font-weight: bold;">var</span> obj<span style="color: #339933;">,</span> text<span style="color: #339933;">,</span> wordcount<span style="color: #339933;">,</span> limited<span style="color: #339933;">;</span>
&nbsp;
			obj <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			obj.<span style="color: #660066;">after</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;span style=&quot;font-size: 11px; clear: both; margin-top: 3px; display: block;&quot; id=&quot;counter-text&quot;&gt;Max. '</span><span style="color: #339933;">+</span>options.<span style="color: #660066;">limit</span><span style="color: #339933;">+</span><span style="color: #3366CC;">' words&lt;/span&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			obj.<span style="color: #660066;">keyup</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			    text <span style="color: #339933;">=</span> obj.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>text <span style="color: #339933;">===</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			    	wordcount <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
			    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
				    wordcount <span style="color: #339933;">=</span> $.<span style="color: #660066;">trim</span><span style="color: #009900;">&#40;</span>text<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>wordcount <span style="color: #339933;">&gt;</span> options.<span style="color: #660066;">limit</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#counter-text&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;span style=&quot;color: #DD0000;&quot;&gt;0 words left&lt;/span&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					limited <span style="color: #339933;">=</span> $.<span style="color: #660066;">trim</span><span style="color: #009900;">&#40;</span>text<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">limit</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					limited <span style="color: #339933;">=</span> limited.<span style="color: #660066;">join</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span>limited<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
			        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#counter-text&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">limit</span> <span style="color: #339933;">-</span> wordcount<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">' words left'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			    <span style="color: #009900;">&#125;</span> 
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>Load that up and then you can use the following to make it work:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;textarea&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">textareaCounter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> limit<span style="color: #339933;">:</span> <span style="color: #CC0000;">100</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>The default limits to 100 words but you can change that to whatever you like. Here is a simple HTML setup using the plugin:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #009933; font-style: italic;">/**
 * jQuery.textareaCounter
 * Version 1.0
 * Copyright (c) 2011 c.bavota - http://bavotasan.com
 * Dual licensed under MIT and GPL.
 * Date: 10/20/2011
**/</span>
<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$<span style="color: #339933;">.</span>fn<span style="color: #339933;">.</span>textareaCounter <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// setting the defaults</span>
		<span style="color: #666666; font-style: italic;">// $(&quot;textarea&quot;).textareaCounter({ limit: 100 });</span>
		<span style="color: #000000; font-weight: bold;">var</span> defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
			limit<span style="color: #339933;">:</span> <span style="color: #cc66cc;">100</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>	
		<span style="color: #000000; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> $<span style="color: #339933;">.</span>extend<span style="color: #009900;">&#40;</span>defaults<span style="color: #339933;">,</span> options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// and the plugin begins</span>
		<span style="color: #b1b100;">return</span> this<span style="color: #339933;">.</span><span style="color: #990000;">each</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">var</span> obj<span style="color: #339933;">,</span> text<span style="color: #339933;">,</span> wordcount<span style="color: #339933;">,</span> limited<span style="color: #339933;">;</span>
&nbsp;
			obj <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>this<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			obj<span style="color: #339933;">.</span>after<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;span style=&quot;font-size: 11px; clear: both; margin-top: 3px; display: block;&quot; id=&quot;counter-text&quot;&gt;Max. '</span><span style="color: #339933;">+</span>options<span style="color: #339933;">.</span>limit<span style="color: #339933;">+</span><span style="color: #0000ff;">' words&lt;/span&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			obj<span style="color: #339933;">.</span>keyup<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			    text <span style="color: #339933;">=</span> obj<span style="color: #339933;">.</span>val<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>text <span style="color: #339933;">===</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			    	wordcount <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
			    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
				    wordcount <span style="color: #339933;">=</span> $<span style="color: #339933;">.</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span>text<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #990000;">split</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>length<span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>wordcount <span style="color: #339933;">&gt;</span> options<span style="color: #339933;">.</span>limit<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			        $<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#counter-text&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;span style=&quot;color: #DD0000;&quot;&gt;0 words left&lt;/span&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					limited <span style="color: #339933;">=</span> $<span style="color: #339933;">.</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span>text<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #990000;">split</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span> options<span style="color: #339933;">.</span>limit<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					limited <span style="color: #339933;">=</span> limited<span style="color: #339933;">.</span><span style="color: #990000;">join</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					$<span style="color: #009900;">&#40;</span>this<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>val<span style="color: #009900;">&#40;</span>limited<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
			        $<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#counter-text&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>html<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>options<span style="color: #339933;">.</span>limit <span style="color: #339933;">-</span> wordcount<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000ff;">' words left'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			    <span style="color: #009900;">&#125;</span> 
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span>
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>textarea rows<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;15&quot;</span> cols<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;50&quot;</span><span style="color: #339933;">&gt;&lt;/</span>textarea<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;textarea&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>textareaCounter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>body<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>That would give you a textarea box that looks like this:</p>
<p><textarea rows="14" cols="" style="width: 100%;" class="textareaCounter"></textarea></p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2011/simple-textarea-word-counter-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Zombie with Film Camera for Head</title>
		<link>http://bavotasan.com/2011/zombie-with-film-camera-for-head/</link>
		<comments>http://bavotasan.com/2011/zombie-with-film-camera-for-head/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 15:17:25 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[free image]]></category>
		<category><![CDATA[horror]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[Png]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[zombie]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=3689</guid>
		<description><![CDATA[I am working on a website for a horror film festival and created this image by splicing a few things together. Sadly, we won&#8217;t be using on the site but I thought it was cool enough that I should put it here so people can check it out. Feel free to download it and use [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on a website for a horror film festival and created this image by splicing a few things together. Sadly, we won&#8217;t be using on the site but I thought it was cool enough that I should put it here so people can check it out. Feel free to download it and use it on your own project, just leave a comment so I can see what you do with it.</p>
<p><img src="http://bavotasan.com/wp-content/uploads/2011/10/zombiecam_big.png" alt="" title="zombiecam_big" width="300" height="550" class="aligncenter size-full wp-image-3698" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2011/zombie-with-film-camera-for-head/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Add Logo to Admin WordPress Plugin</title>
		<link>http://bavotasan.com/2011/add-your-logo-to-the-wordpress-admin-and-login-page/</link>
		<comments>http://bavotasan.com/2011/add-your-logo-to-the-wordpress-admin-and-login-page/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 14:34:09 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[admin logo]]></category>
		<category><![CDATA[custom admin]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-admin]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=114</guid>
		<description><![CDATA[I have revamped my first plugin to make it a little easier to use. If you have tried it before and weren&#8217;t impressed, please give it another go. I&#8217;ve included an image uploader so you can easily add your own logo and choose whether you want it to appear in your wp-admin and/or the Login [...]]]></description>
			<content:encoded><![CDATA[<p>I have revamped my first plugin to make it a little easier to use. If you have tried it before and weren&#8217;t impressed, please give it another go. I&#8217;ve included an image uploader so you can easily add your own logo and choose whether you want it to appear in your wp-admin and/or the Login page. You also have the ability to upload multiple logos and then select which one you would like to use.<br />
<span id="more-114"></span></p>
<p>Any feedback or suggestions would be totally appreciated.</p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/02/addlogo.png"><img src="http://bavotasan.com/wp-content/uploads/2009/02/addlogo-580x364.png" alt="addlogo" title="addlogo" width="580" height="364" class="aligncenter size-medium wp-image-350" /></a></p>
<p>This plugin has been updated for WordPress 3.3.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2011/add-your-logo-to-the-wordpress-admin-and-login-page/feed/</wfw:commentRss>
		<slash:comments>110</slash:comments>
		</item>
		<item>
		<title>Scrollerota jQuery Plugin</title>
		<link>http://bavotasan.com/2011/scrollerota-jquery-plugin/</link>
		<comments>http://bavotasan.com/2011/scrollerota-jquery-plugin/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 20:26:53 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[scroller]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[sliderota]]></category>
		<category><![CDATA[Slideshow]]></category>
		<category><![CDATA[slideshow plugin]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=3148</guid>
		<description><![CDATA[If you take a look at my Stationery Premium WordPress Theme, you will see a featured slideshow that was inspired by Kevin Liew&#8217;s jQuery Image Gallery/News Slider with Caption Tutorial. The only problem I had with his original code, was that it would sort of rewind back to the first element if you reached the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bavotasan.com/wp-content/uploads/2011/02/scrollerota_bg.jpg" alt="" title="scrollerota_bg" width="550" height="257" class="aligncenter size-full wp-image-3244" />If you take a look at my <a href="http://demos.bavotasan.com/stationery/">Stationery Premium WordPress Theme</a>, you will see a featured slideshow that was inspired by Kevin Liew&#8217;s <a href="http://www.queness.com/post/443/jquery-image-gallerynews-slider-with-caption-tutorial">jQuery Image Gallery/News Slider with Caption Tutorial</a>. The only problem I had with his original code, was that it would sort of rewind back to the first element if you reached the end of the slideshow. </p>
<p>I decided to take Kevin&#8217;s idea and recode it from scratch so that it would no longer have to rely on Ariel Flesler <a href="http://flesler.blogspot.com/2007/10/jqueryscrollto.html">scrollTo plugin</a> and so that the slideshow would have an infinite scroll.</p>
<p>Here is the jQuery code for my new Scollerota jQuery Slideshow Plugin:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/**
 * jQuery.scrollerota
 * Version 1.0
 * Copyright (c) 2011 c.bavota - http://bavotasan.com
 * Dual licensed under MIT and GPL.
 * Date: 02/04/2011
**/</span>
<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$.<span style="color: #660066;">fn</span>.<span style="color: #660066;">scrollerota</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">// setting the defaults</span>
		<span style="color: #006600; font-style: italic;">// $(&quot;#scrollerota&quot;).scrollerota({ width: 500, height: 333, padding: 10, speed: 2000, timer: 5000, slideshow: true, easing: &quot;easeInOutQuart&quot; });</span>
		<span style="color: #003366; font-weight: bold;">var</span> defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
			width<span style="color: #339933;">:</span> <span style="color: #CC0000;">500</span><span style="color: #339933;">,</span>
			height<span style="color: #339933;">:</span> <span style="color: #CC0000;">333</span><span style="color: #339933;">,</span>
			padding<span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span><span style="color: #339933;">,</span>	
			speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">2000</span><span style="color: #339933;">,</span>
			timer<span style="color: #339933;">:</span> <span style="color: #CC0000;">5000</span><span style="color: #339933;">,</span>
			slideshow<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
			easing<span style="color: #339933;">:</span> <span style="color: #3366CC;">'easeInOutQuart'</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>	
		<span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> $.<span style="color: #660066;">extend</span><span style="color: #009900;">&#40;</span>defaults<span style="color: #339933;">,</span> options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">// and the plugin begins</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #006600; font-style: italic;">// initializing the variables</span>
			<span style="color: #003366; font-weight: bold;">var</span> obj<span style="color: #339933;">,</span> images<span style="color: #339933;">,</span> texts<span style="color: #339933;">,</span> first<span style="color: #339933;">,</span> last<span style="color: #339933;">,</span> imglimit<span style="color: #339933;">,</span> txtlimit<span style="color: #339933;">,</span> itemNum<span style="color: #339933;">,</span> totalWidth<span style="color: #339933;">,</span> totalHeight<span style="color: #339933;">,</span> txtTop<span style="color: #339933;">,</span> imgLeft<span style="color: #339933;">,</span> txtMove<span style="color: #339933;">,</span> imgMove<span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// creating the object variable</span>
			obj <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			images <span style="color: #339933;">=</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.images&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			texts <span style="color: #339933;">=</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.text&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// cloning the first and last item to create the infinite scrolling</span>
 			first <span style="color: #339933;">=</span> images.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li:first&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			last <span style="color: #339933;">=</span> images.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li:last&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 			first.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span>images<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 			last.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prependTo</span><span style="color: #009900;">&#40;</span>images<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
 			first <span style="color: #339933;">=</span> texts.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li:first&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			last <span style="color: #339933;">=</span> texts.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li:last&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 			first.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span>texts<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 			last.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prependTo</span><span style="color: #009900;">&#40;</span>texts<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// figuring out the total width and height for the images and the text boxes</span>
			itemNum <span style="color: #339933;">=</span> images.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
			totalWidth <span style="color: #339933;">=</span> itemNum <span style="color: #339933;">*</span> options.<span style="color: #660066;">width</span><span style="color: #339933;">;</span>
			totalHeight <span style="color: #339933;">=</span> itemNum <span style="color: #339933;">*</span> options.<span style="color: #660066;">height</span><span style="color: #339933;">;</span>
			imglimit <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>itemNum <span style="color: #339933;">-</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> options.<span style="color: #660066;">width</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			txtlimit <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>itemNum <span style="color: #339933;">-</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> options.<span style="color: #660066;">height</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
 			<span style="color: #006600; font-style: italic;">// setting the CSS for the image elements</span>
			images
				.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
					width<span style="color: #339933;">:</span> totalWidth<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span>
					height<span style="color: #339933;">:</span> options.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span>
					left<span style="color: #339933;">:</span> <span style="color: #339933;">-</span>options.<span style="color: #660066;">width</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span>
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> width<span style="color: #339933;">:</span> options.<span style="color: #660066;">width</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span> height<span style="color: #339933;">:</span> options.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li img&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> width<span style="color: #339933;">:</span> options.<span style="color: #660066;">width</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span> height<span style="color: #339933;">:</span> options.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// setting the CSS for the text elements</span>
			texts
				.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
					height<span style="color: #339933;">:</span> totalHeight<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span>
					top<span style="color: #339933;">:</span> <span style="color: #339933;">-</span>options.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span>
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>			
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> height<span style="color: #339933;">:</span> <span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">height</span><span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">padding</span><span style="color: #339933;">*</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span> padding<span style="color: #339933;">:</span> options.<span style="color: #660066;">padding</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// slideshow functionality</span>
			<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">slideshow</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #006600; font-style: italic;">// creating the loop for the slideshow</span>
				loop <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> autoScroll<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">timer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #006600; font-style: italic;">// adding the controls for the slideshow</span>
				obj.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;div class=&quot;controls&quot;&gt;&lt;a href=&quot;javascript:void(0)&quot; class=&quot;prev&quot;&gt;&lt;/a&gt; &lt;a href=&quot;javascript:void(0)&quot; class=&quot;play&quot;&gt;&lt;/a&gt; &lt;a href=&quot;javascript:void(0)&quot; class=&quot;pause&quot;&gt;&lt;/a&gt; &lt;a href=&quot;javascript:void(0)&quot; class=&quot;next&quot;&gt;&lt;/a&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span>
&nbsp;
				<span style="color: #006600; font-style: italic;">// the pause click function</span>
				obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">live</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					clearTimeout<span style="color: #009900;">&#40;</span>loop<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.play, .pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #006600; font-style: italic;">// the play click function</span>
				obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.play&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">live</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					loop <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> autoScroll<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">timer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.play, .pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #006600; font-style: italic;">// adding the next and previous controls</span>
				obj.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;div class=&quot;controls&quot;&gt;&lt;a href=&quot;javascript:void(0)&quot; class=&quot;prev&quot;&gt;&lt;/a&gt; &lt;a href=&quot;javascript:void(0)&quot; class=&quot;next&quot;&gt;&lt;/a&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009900;">&#125;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// the next and previous click function</span>
			obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.next, .prev&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">live</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hasClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;next&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					autoScroll<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
					autoScroll<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
				<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">slideshow</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					clearTimeout<span style="color: #009900;">&#40;</span>loop<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.play&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// the autoScroll function</span>
			<span style="color: #003366; font-weight: bold;">function</span> autoScroll<span style="color: #009900;">&#40;</span>next<span style="color: #339933;">,</span> auto<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				txtTop <span style="color: #339933;">=</span> texts.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'top'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				imgLeft <span style="color: #339933;">=</span> images.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'left'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				txtMove <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>next<span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> txtTop <span style="color: #339933;">-</span> options.<span style="color: #660066;">height</span> <span style="color: #339933;">:</span> parseInt<span style="color: #009900;">&#40;</span>txtTop<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> parseInt<span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">height</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				imgMove <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>next<span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> imgLeft <span style="color: #339933;">-</span> options.<span style="color: #660066;">width</span> <span style="color: #339933;">:</span> parseInt<span style="color: #009900;">&#40;</span>imgLeft<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> parseInt<span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">width</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #006600; font-style: italic;">// animating the text</span>
				texts.<span style="color: #660066;">not</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">':animated'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> top<span style="color: #339933;">:</span> txtMove<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">speed</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">easing</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						<span style="color: #006600; font-style: italic;">// check if we have reach the end in either direction of the scroll</span>
						<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>txtMove<span style="color: #339933;">==</span>txtlimit<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> texts.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> top<span style="color: #339933;">:</span> <span style="color: #339933;">-</span>options.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
						<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>txtMove<span style="color: #339933;">==</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> texts.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> top<span style="color: #339933;">:</span> <span style="color: #009900;">&#40;</span>txtlimit<span style="color: #339933;">+</span>options.<span style="color: #660066;">height</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #006600; font-style: italic;">// animating the images</span>
				images.<span style="color: #660066;">not</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">':animated'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> left<span style="color: #339933;">:</span> imgMove<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">speed</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">easing</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						<span style="color: #006600; font-style: italic;">// check if we have reach the end in either direction of the scroll</span>
						<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>imgMove<span style="color: #339933;">==</span>imglimit<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> images.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> left<span style="color: #339933;">:</span> <span style="color: #339933;">-</span>options.<span style="color: #660066;">width</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
						<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>imgMove<span style="color: #339933;">==</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> images.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> left<span style="color: #339933;">:</span> <span style="color: #009900;">&#40;</span>imglimit<span style="color: #339933;">+</span>options.<span style="color: #660066;">width</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>				
&nbsp;
				<span style="color: #006600; font-style: italic;">// continuing the loop if the slideshow is activated</span>
				<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>auto <span style="color: #339933;">&amp;&amp;</span> options.<span style="color: #660066;">slideshow</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> loop <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> autoScroll<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">timer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>Here is the basic CSS:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#scrollerota</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">500px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">333px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#scrollerota</span> ul.<span style="color: #993333;">text</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/pixel.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#scrollerota</span> ul.<span style="color: #993333;">text</span> li <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#scrollerota</span> a<span style="color: #6666ff;">.readmore</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">17px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#scrollerota</span> a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.readmore</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#888</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#scrollerota</span> ul<span style="color: #6666ff;">.images</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#scrollerota</span> ul<span style="color: #6666ff;">.images</span> li <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#scrollerota</span> <span style="color: #6666ff;">.controls</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#scrollerota</span> <span style="color: #6666ff;">.controls</span> a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">22px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">22px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/controls.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#scrollerota</span> <span style="color: #6666ff;">.controls</span> <span style="color: #6666ff;">.prev</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-22px</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#scrollerota</span> <span style="color: #6666ff;">.controls</span> <span style="color: #6666ff;">.next</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-23px</span> <span style="color: #933;">-22px</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#scrollerota</span> <span style="color: #6666ff;">.controls</span> <span style="color: #6666ff;">.play</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-23px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span></pre></div></td></tr></table></div>

<p>And here is what the HTML should look like:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;scrollerota&quot;</span><span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images&quot;</span><span style="color: #339933;">&gt;</span>
    	<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/image1.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
    	<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/image2.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
    	<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/image3.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span><span style="color: #339933;">&gt;</span>
    	<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;</span>Nullam rutrum<span style="color: #339933;">,</span> nibh sit amet sodales luctus<span style="color: #339933;">,</span> mauris est placerat justo<span style="color: #339933;">,</span> molestie gravida lorem enim eu sapien<span style="color: #339933;">.</span> Curabitur porttitor lobortis felis ac ultricies<span style="color: #339933;">.</span> Nulla velit ipsum<span style="color: #339933;">,</span> lobortis ac bibendum vitae<span style="color: #339933;">,</span> aliquam at metus<span style="color: #339933;">.&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;readmore&quot;</span><span style="color: #339933;">&gt;</span>Read more<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;</span>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas<span style="color: #339933;">.</span> Etiam et eros nisl<span style="color: #339933;">.</span> Etiam vehicula lobortis pharetra<span style="color: #339933;">.</span> Integer ut ipsum risus<span style="color: #339933;">.&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;readmore&quot;</span><span style="color: #339933;">&gt;</span>Read more<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;</span>Nulla facilisis felis vitae leo condimentum quis adipiscing turpis rhoncus<span style="color: #339933;">.</span> Sed id lacus libero<span style="color: #339933;">,</span> ut accumsan lacus<span style="color: #339933;">.</span> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas<span style="color: #339933;">.&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;readmore&quot;</span><span style="color: #339933;">&gt;</span>Read more<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>With all that in place, all you have to do is make sure to load up jQuery at the top of your web page and add the following piece of code to the bottom, right before the closing body tag:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#scrollerota&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">scrollerota</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
			width<span style="color: #339933;">:</span> <span style="color: #CC0000;">500</span><span style="color: #339933;">,</span>
			height<span style="color: #339933;">:</span> <span style="color: #CC0000;">333</span><span style="color: #339933;">,</span>
			padding<span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span><span style="color: #339933;">,</span>	
			speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">2000</span><span style="color: #339933;">,</span>
			timer<span style="color: #339933;">:</span> <span style="color: #CC0000;">5000</span><span style="color: #339933;">,</span>
			slideshow<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
			easing<span style="color: #339933;">:</span> <span style="color: #3366CC;">'easeInOutQuart'</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>Here is a break down of the parameters, though some are pretty self-explanatory:</p>
<dl>
<dt>width</dt>
<dd>The full width of the slideshow</dd>
<dt>height</dt>
<dd>The full height of the slideshow</dd>
<dt>padding</dt>
<dd>The amount of padding surrounding the text box to the left</dd>
<dt>speed</dt>
<dd>The amount of time in milliseconds that it takes for the element to slide</dd>
<dt>timer</dt>
<dd>The amount of time in milliseconds for the slideshow to pause between slides (ignored if slideshow is turned off)</dd>
<dt>slideshow</dt>
<dd>Set to false if you wish to remove the automatic slideshow</dd>
<dt>easing</dt>
<dd>The easing type of animation</dd>
</dl>
<p>If you wish to use the advanced easing options, you would also need to upload the latest jQuery UI. If not, the only two easing options you have are <em>linear</em> and <em>swing</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2011/scrollerota-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Full Size Background Image jQuery Plugin: Redux</title>
		<link>http://bavotasan.com/2011/full-sizebackground-image-jquery-plugin/</link>
		<comments>http://bavotasan.com/2011/full-sizebackground-image-jquery-plugin/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 14:32:33 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[background image]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[Plugin Code]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1748</guid>
		<description><![CDATA[I just made a few changed to this plugin because it was acting a little weird. Tested it in Safari, Chrome and Firefox and it work perfectly now. All you need is an image that you want to have displayed as your background. Once you have that and use the plugin, the image will resize [...]]]></description>
			<content:encoded><![CDATA[<p>I just made a few changed to this plugin because it was acting a little weird. Tested it in Safari, Chrome and Firefox and it work perfectly now.  All you need is an image that you want to have displayed as your background. Once you have that and use the plugin, the image will resize to the full width/height of the browser window. Every time the browser window resizes, so will the background image.</p>
<p>First comes the plugin code:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/**
 * jQuery.fullBg
 * Version 1.0
 * Copyright (c) 2010 c.bavota - http://bavotasan.com
 * Dual licensed under MIT and GPL.
 * Date: 02/23/2010
**/</span>
<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  $.<span style="color: #660066;">fn</span>.<span style="color: #660066;">fullBg</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> bgImg <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
&nbsp;
    <span style="color: #003366; font-weight: bold;">function</span> resizeImg<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #003366; font-weight: bold;">var</span> imgwidth <span style="color: #339933;">=</span> bgImg.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> imgheight <span style="color: #339933;">=</span> bgImg.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #003366; font-weight: bold;">var</span> winwidth <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> winheight <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #003366; font-weight: bold;">var</span> widthratio <span style="color: #339933;">=</span> winwidth <span style="color: #339933;">/</span> imgwidth<span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> heightratio <span style="color: #339933;">=</span> winheight <span style="color: #339933;">/</span> imgheight<span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #003366; font-weight: bold;">var</span> widthdiff <span style="color: #339933;">=</span> heightratio <span style="color: #339933;">*</span> imgwidth<span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> heightdiff <span style="color: #339933;">=</span> widthratio <span style="color: #339933;">*</span> imgheight<span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>heightdiff<span style="color: #339933;">&gt;</span>winheight<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        bgImg.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
          width<span style="color: #339933;">:</span> winwidth<span style="color: #339933;">+</span><span style="color: #3366CC;">'px'</span><span style="color: #339933;">,</span>
          height<span style="color: #339933;">:</span> heightdiff<span style="color: #339933;">+</span><span style="color: #3366CC;">'px'</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
        bgImg.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
          width<span style="color: #339933;">:</span> widthdiff<span style="color: #339933;">+</span><span style="color: #3366CC;">'px'</span><span style="color: #339933;">,</span>
          height<span style="color: #339933;">:</span> winheight<span style="color: #339933;">+</span><span style="color: #3366CC;">'px'</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span> 
    resizeImg<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">resize</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      resizeImg<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span></pre></div></td></tr></table></div>

<p>There is only a little CSS needed for this one:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.fullBg</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#maincontent</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">50</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></td></tr></table></div>

<p>If you want your background to stay fixed you can change the .fullBG CSS to this:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.fullBg</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">fixed</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></td></tr></table></div>

<p>For the HTML markup, you can just add an image tag with an id or class, but you also need to add a div that contains your main content or else it won&#8217;t work properly. This is the bare minimum:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;your-background-image.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;background&quot;</span> <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;maincontent&quot;</span><span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;!--</span> Your site content goes here <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>To call the jQuery function, add this to the bottom of your web page, right before the closing body tag:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#background&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fullBg</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>Once again, this plugin is pretty simple so no options are available. It pretty much just does what it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2011/full-sizebackground-image-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>My First Vanilla Plugin</title>
		<link>http://bavotasan.com/2010/my-first-vanilla-plugin/</link>
		<comments>http://bavotasan.com/2010/my-first-vanilla-plugin/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 19:22:42 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Forum]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[Support Forum]]></category>
		<category><![CDATA[vanilla]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=2969</guid>
		<description><![CDATA[I have been fiddling around with Vanilla lately to prepare my support forum for a migrating over from bbPress. Vanilla is great and it offers tons of useful options that blow bbPress out of the water. Plus, it&#8217;s based in Montreal and I recently got to know the people behind it and they are totally [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bavotasan.com/wp-content/uploads/2010/11/Vanilla.jpg" alt="" title="Vanilla" width="200" height="150" class="alignright size-full wp-image-2970" />I have been fiddling around with <a href="http://vanillaforums.org/">Vanilla</a> lately to prepare my support forum for a migrating over from <a href="http://bbpress.org/">bbPress</a>. Vanilla is great and it offers tons of useful options that blow bbPress out of the water. Plus, it&#8217;s based in Montreal and I recently got to know the people behind it and they are totally awesome.</p>
<p>The learning curve on Vanilla is a little steep compared to bbPress, especially if you are unfamiliar with object oriented programming, but it is worth diving into. It took me a bit of time to wrap my head around it all but I managed to put together my first plugin to contribute back to the community.</p>
<p>In my support forum, I am often including code snippets to show exactly how to mod a file, and I like to have these snippets formatted a certain way. I prefer to use <a href="http://qbnz.com/highlighter/">GeSHi</a> to highlight my code so that it is easier to read and I don&#8217;t have to rely on a lot of extra JavaScript files. My first plugin allows Vanilla users to input code snippets using GeSHi by including their code between &lt;pre&gt; &lt;/pre&gt; tag. </p>
<p>Here&#8217;s a screenshot to show you how it looks when you hover over a code snippet.</p>
<div id="attachment_2971" class="wp-caption aligncenter" style="width: 560px"><img src="http://bavotasan.com/wp-content/uploads/2010/11/geshitest.jpg" alt="" title="geshitest" width="550" height="318" class="size-full wp-image-2971" /><p class="wp-caption-text">A sign of things to come in the Support Forum</p></div>
<p>I&#8217;ve included a small piece of jQuery to expand the code box, similar to how it functions on this site.</p>
<p>I&#8217;ve just uploaded the plugin to Vanilla so you can download it from there.  Let me know if you have any questions or commeents.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/my-first-vanilla-plugin/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Delete Duplicate Posts Pro WordPress Plugin</title>
		<link>http://bavotasan.com/2010/delete-duplicate-posts-pro-wordpress-plugin/</link>
		<comments>http://bavotasan.com/2010/delete-duplicate-posts-pro-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 16:43:25 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[dashboard widget]]></category>
		<category><![CDATA[delete duplicates]]></category>
		<category><![CDATA[duplicate posts]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[premium plugin]]></category>
		<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[wpdb]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=685</guid>
		<description><![CDATA[I just updated this plugin for WordPress 3.0. I also simplified the manual cron process. If you have any questions post them in the support forum. What exactly does this plugin do? Let&#8217;s say, hypothetically, you have a website that gathers news from RSS feeds with some sort of parser. Sometimes, for whatever reason, you [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated this plugin for WordPress 3.0. I also simplified the manual cron process. If you have any questions post them in the support forum.<br />
<span id="more-685"></span></p>
<h3>What exactly does this plugin do?</h3>
<p>Let&#8217;s say, hypothetically, you have a website that gathers news from RSS feeds with some sort of parser. Sometimes, for whatever reason, you might get multiple versions of the same post. <strong>Delete Duplicate Posts Pro WordPress plugin</strong> to the rescue. </p>
<p>This plugin offers the ability to manually list all dupes and then delete them. Or you can activate a daily WordPress cron to make it happen automatically. Advanced users even have the ability to setup their own cron, for more control.</p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/06/Picture-11.png"><img src="http://bavotasan.com/wp-content/uploads/2009/06/Picture-11-200x149.png" alt="Picture-1" title="Picture-1" width="200" height="149" class="alignleft size-thumbnail wp-image-763" /></a><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/06/Picture-21.png"><img src="http://bavotasan.com/wp-content/uploads/2009/06/Picture-21-200x182.png" alt="Picture-2" title="Picture-2" width="200" height="182" class="alignleft size-thumbnail wp-image-764" /></a><br />
<br class="clear" /><br />
This plugin can really help you out if you are using auto-blogging plugins like Wp-O-Matic, FeedWordPress and Autoblogged.</p>
<p><strong>A single site license costs only $19.77 for lifetime use. All updates are yours for free. </strong></p>
<p><strong>Delete Duplicate Posts Pro</strong> is designed for WordPress 3.0. It has been tested on older versions and does work but many extra features, like the Dashboard widget, might not function properly.</p>
<p>Click the &#8220;Buy&#8221; button below to purchase a single site license. Be sure to click back after completing the purchase to download the plugin and get your activation code.</p>
<p><small>NOTE: You don&#8217;t need a PayPal account to make a purchase. Just look near the bottom left after you click the &#8220;Buy&#8221; button for the &#8220;Don&#8217;t Have a PayPal account&#8221; link. You will not need to create an account, you will just need to enter your CC info.</p>
<p>No refunds available.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/delete-duplicate-posts-pro-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>95</slash:comments>
		</item>
		<item>
		<title>Feed Me, Seymour 1.2</title>
		<link>http://bavotasan.com/2010/feed-me-seymour-free-wordpress-theme/</link>
		<comments>http://bavotasan.com/2010/feed-me-seymour-free-wordpress-theme/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 13:05:24 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Admin Interface]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[Click]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[engine v2]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[lot]]></category>
		<category><![CDATA[New Features]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Whole Lot]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=279</guid>
		<description><![CDATA[I have just updated Feed Me, Seymour for WordPress 3.0 and many of its new features. I have also cleaned up the code and added the Arturo Theme Engine v2.0 so that the admin interface works a whole lot better. Version 1.2 is currently only available on this site. Just click the download button below. [...]]]></description>
			<content:encoded><![CDATA[<p>I have just updated Feed Me, Seymour for WordPress 3.0 and many of its new features. I have also cleaned up the code and added the Arturo Theme Engine v2.0 so that the admin interface works a whole lot better. Version 1.2 is currently only available on this site. Just click the download button below.<br />
<span id="more-279"></span><br />
<em>Here are some examples of different layout options.</em></p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/02/feedmeseymour.jpg"><img src="http://bavotasan.com/wp-content/uploads/2009/02/feedmeseymour-200x167.jpg" alt="feedmeseymour" title="feedmeseymour" width="160" class="alignleft size-thumbnail wp-image-280" /></a><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/02/feedme2.jpg"><img src="http://bavotasan.com/wp-content/uploads/2009/02/feedme2-200x175.jpg" alt="feedme2" title="feedme2" width="160" class="alignleft size-thumbnail wp-image-702" /></a><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/02/feedme3.jpg"><img src="http://bavotasan.com/wp-content/uploads/2009/02/feedme3-200x151.jpg" alt="feedme3" title="feedme3" width="160" class="alignleft size-thumbnail wp-image-703" /></a></p>
<hr style="clear:both;border:0;">
<p>For more info go to <a href="http://themes.bavotasan.com/our-themes/basic-themes/feed-me-seymour">Themes by bavotasan.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/feed-me-seymour-free-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>92</slash:comments>
		</item>
		<item>
		<title>Magazine Basic v2.6 WordPress Theme</title>
		<link>http://bavotasan.com/2010/magazine-basic-free-wordpress-theme/</link>
		<comments>http://bavotasan.com/2010/magazine-basic-free-wordpress-theme/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 13:05:03 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[engine v2]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[menu system]]></category>
		<category><![CDATA[New Features]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1488</guid>
		<description><![CDATA[Since I have been doing all this talking about WordPress 3.0, I thought it only fitting to start incorporating some if its features into my themes. The first theme to get the upgrade is Magazine Basic. Version 2.6 also has the Arturo Theme Engine v2.0 installed to give a smoother experience while configuring the theme [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/magabasi.png" alt="magabasi" title="magabasi" width="300" height="225" class="alignright size-full wp-image-1489" />Since I have been doing all this talking about WordPress 3.0, I thought it only fitting to start incorporating some if its features into my themes. The first theme to get the upgrade is <a href="http://themes.bavotasan.com/our-themes/basic-themes/magazine-basic">Magazine Basic</a>. Version 2.6 also has the Arturo Theme Engine v2.0 installed to give a smoother experience while configuring the theme options. The new MB is currently available for download off of <a href="http://wordpress.org/extend/themes/magazine-basic">WordPress.org</a>.<span id="more-1488"></span> </p>
<p>Here are a few of the new features:</p>
<ul>
<li>WordPress 3.0 menu system</li>
<li>WordPress 3.0 background editor</li>
<li>Arturo Theme Engine v2.0</li>
<li>Ajax save function</li>
<li>Cleaner code</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/magazine-basic-free-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>114</slash:comments>
		</item>
		<item>
		<title>Sliderota jQuery Plugin</title>
		<link>http://bavotasan.com/2010/sliderota-jquery-plugin/</link>
		<comments>http://bavotasan.com/2010/sliderota-jquery-plugin/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 20:18:26 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Background Url]]></category>
		<category><![CDATA[Click]]></category>
		<category><![CDATA[end]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[overflow]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Png]]></category>
		<category><![CDATA[Slides]]></category>
		<category><![CDATA[Slideshow]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[Width]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1973</guid>
		<description><![CDATA[The new design on Themes by bavotasan.com required a content slider so I built a simple jQuery plugin that would work the way I needed it to. There isn&#8217;t much to it but you can set the speed, slide timer, easing and if you want it to work solely as a content slider or as [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bavotasan.com/wp-content/uploads/2010/04/sliderota-570x240.jpg" alt="" title="sliderota" width="570" height="240" class="aligncenter size-medium wp-image-1976" /><br />
The new design on <a href="http://themes.bavotasan.com/">Themes by bavotasan.com</a> required a content slider so I built a simple <a href="http://jquery.com/">jQuery</a> plugin that would work the way I needed it to. There isn&#8217;t much to it but you can set the speed, slide timer, easing and if you want it to work solely as a content slider or as a slideshow. It even loops so you don&#8217;t have any of that ugly backwards sliding when it hits the end.<br />
<span id="more-1973"></span><br />
Here is the basic CSS you need:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sliderota</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">900px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* change to the width you want */</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">380px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* change to the height you want */</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/bigad_bg.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#sliderota</span> <span style="color: #6666ff;">.slides</span> <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#sliderota</span> img <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#sliderota</span> ul <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#sliderota</span> ul li  <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>	
&nbsp;
		<span style="color: #cc00cc;">#sliderota</span> ul li a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/controls.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#sliderota</span> ul li<span style="color: #6666ff;">.selected</span> a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-18px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#sliderota</span> <span style="color: #6666ff;">.controls</span> a <span style="color: #00AA00;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/controls.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #933;">-54px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#sliderota</span> <span style="color: #6666ff;">.controls</span> a<span style="color: #6666ff;">.play</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-36px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span></pre></div></td></tr></table></div>

<p>Here is the basic HTML:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;sliderota&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;slides&quot;</span><span style="color: #339933;">&gt;</span>
    	<span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://themes.bavotasan.com/our-themes/premium-themes/moderno&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/moderno_bigad.png&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;900&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;380&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Moderno&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://themes.bavotasan.com/our-themes/premium-themes/magazine-premium&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/magprem_bigad.png&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;900&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;380&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Magazine Premium&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://themes.bavotasan.com/our-themes/premium-themes/stationery&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/stationery_bigad.png&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;900&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;380&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Stationery&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://themes.bavotasan.com/our-themes/premium-themes/illustrious&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/illustrious_bigad.png&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;900&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;380&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Illustrious&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>Of course, you need to call jQuery and the plugin function:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;js/jquery.sliderota.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#sliderota&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>sliderota<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></pre></div></td></tr></table></div>

<p>If you are only using <a href="http://jquery.com/">jQuery</a> 1.3.2, then you will also have to include the <a href="http://gsgd.co.uk/sandbox/jquery/easing/">Easing plugin</a> to use the advanced easing options that are included in the Core UI v1.8.0.</p>
<p>And now for the plugin:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/**
 * jQuery.sliderota
 * Version 1.0
 * Copyright (c) 2010 c.bavota - http://bavotasan.com
 * Dual licensed under MIT and GPL.
 * Date: 04/22/2010
**/</span>
<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	$.<span style="color: #660066;">fn</span>.<span style="color: #660066;">sliderota</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">// setting the defaults</span>
		<span style="color: #006600; font-style: italic;">// $(&quot;#sliderota&quot;).sliderota({speed: 3000, timer: 6000, slideshow: true, easing: &quot;easeInOutQuint&quot;});</span>
		<span style="color: #003366; font-weight: bold;">var</span> defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
			speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">3000</span><span style="color: #339933;">,</span>
			timer<span style="color: #339933;">:</span> <span style="color: #CC0000;">6000</span><span style="color: #339933;">,</span>
			slideshow<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
			easing<span style="color: #339933;">:</span> <span style="color: #3366CC;">'easeInOutQuint'</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>	
		<span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> $.<span style="color: #660066;">extend</span><span style="color: #009900;">&#40;</span>defaults<span style="color: #339933;">,</span> options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">// and the plugin begins</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #006600; font-style: italic;">// initializing the variables</span>
			<span style="color: #003366; font-weight: bold;">var</span> loop<span style="color: #339933;">,</span> counter<span style="color: #339933;">,</span> obj<span style="color: #339933;">,</span> totalWidth<span style="color: #339933;">,</span> itemWidth<span style="color: #339933;">,</span> curLeft<span style="color: #339933;">,</span> itemNum<span style="color: #339933;">,</span> limit<span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// creating the object variable</span>
			obj <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			counter <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
			itemWidth <span style="color: #339933;">=</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			itemNum <span style="color: #339933;">=</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
			totalWidth <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>itemNum <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> itemWidth<span style="color: #339933;">;</span>
			limit <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span>itemNum <span style="color: #339933;">*</span> itemWidth<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			obj
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
					width<span style="color: #339933;">:</span> totalWidth<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span>
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;ul&gt;&lt;/ul&gt;&quot;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;li&gt;&lt;a href='javascript:void(0)' class='slide_&quot;</span><span style="color: #339933;">+</span>counter<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;'&gt;&lt;/a&gt;&lt;/li&gt;&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					counter<span style="color: #339933;">++;</span>
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul li:eq(0)&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides a:eq(0)&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; .slides&quot;</span><span style="color: #339933;">,</span> obj<span style="color: #009900;">&#41;</span>
				.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
				<span style="color: #006600; font-style: italic;">// creating the click event</span>
				.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul li a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">live</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					curLeft <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'class'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slide_&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					curLeft <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span>curLeft <span style="color: #339933;">*</span> itemWidth<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
					$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
					obj <span style="color: #006600; font-style: italic;">// selecting the object</span>
						.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> left<span style="color: #339933;">:</span> curLeft<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">speed</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">easing</span><span style="color: #009900;">&#41;</span>
						.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
						.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls a.play&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
						.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
						.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls a.pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					clearTimeout<span style="color: #009900;">&#40;</span>loop<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// slideshow functionality</span>
			<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>options.<span style="color: #660066;">slideshow</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #006600; font-style: italic;">// adding the play/pause controls</span>
				obj <span style="color: #006600; font-style: italic;">// selecting the object</span>
					.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;div class='controls'&gt;&lt;/div&gt;&quot;</span><span style="color: #009900;">&#41;</span>
					.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls&quot;</span><span style="color: #009900;">&#41;</span>
						.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;a href='javascript:void(0)' class='play'&gt;&lt;/a&gt;&quot;</span><span style="color: #009900;">&#41;</span>
						.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;a href='javascript:void(0)' class='pause'&gt;&lt;/a&gt;&quot;</span><span style="color: #009900;">&#41;</span>					
					.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
					<span style="color: #006600; font-style: italic;">// creating the play click event</span>
					.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls .play&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						loop <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> moveSlides<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">timer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls .pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
					.<span style="color: #660066;">end</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
					<span style="color: #006600; font-style: italic;">// creating the pause click event</span>
					.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls .pause&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						clearTimeout<span style="color: #009900;">&#40;</span>loop<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.controls .play&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
&nbsp;
				<span style="color: #006600; font-style: italic;">// creating the loop for the slideshow</span>
				loop <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> moveSlides<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">timer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #006600; font-style: italic;">// creating the function to move the slides</span>
				<span style="color: #003366; font-weight: bold;">function</span> moveSlides<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul li&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
					curLeft <span style="color: #339933;">=</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'left'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					curItem <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">abs</span><span style="color: #009900;">&#40;</span>curLeft<span style="color: #009900;">&#41;</span> <span style="color: #339933;">/</span> itemWidth<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
					<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>curLeft<span style="color: #339933;">==</span>limit<span style="color: #339933;">+</span>itemWidth<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ul li:eq(0)'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
						obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ul li a.slide_'</span><span style="color: #339933;">+</span>curItem<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span>
					curLeft <span style="color: #339933;">=</span> curLeft <span style="color: #339933;">-</span> itemWidth<span style="color: #339933;">;</span>
					obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> left<span style="color: #339933;">:</span> curLeft<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">speed</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">easing</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>curLeft<span style="color: #339933;">==</span>limit<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.slides&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> left<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;0px&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					loop <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> moveSlides<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> options.<span style="color: #660066;">timer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>The options are pretty simple:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#sliderota&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">sliderota</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
  speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">3000</span><span style="color: #339933;">,</span> 
  timer<span style="color: #339933;">:</span> <span style="color: #CC0000;">6000</span><span style="color: #339933;">,</span> 
  slideshow<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span> 
  easing<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;easeInOutQuint&quot;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/sliderota-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

