<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Create a jQuery Image Rotator from Scratch	</title>
	<atom:link href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/feed/" rel="self" type="application/rss+xml" />
	<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/</link>
	<description>I turn code into captivating user experiences for the web</description>
	<lastBuildDate>Sun, 29 May 2016 05:34:13 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-872</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Sun, 29 May 2016 05:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-872</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-871&quot;&gt;leeon&lt;/a&gt;.

I meant to load the assets to the JSFiddle such as jQuery and making the images absolute url. https://jsfiddle.net/mdLs2fm2/6/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-871">leeon</a>.</p>
<p>I meant to load the assets to the JSFiddle such as jQuery and making the images absolute url. <a href="https://jsfiddle.net/mdLs2fm2/6/" rel="nofollow ugc">https://jsfiddle.net/mdLs2fm2/6/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: leeon		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-871</link>

		<dc:creator><![CDATA[leeon]]></dc:creator>
		<pubDate>Sun, 29 May 2016 04:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-871</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-870&quot;&gt;Michael Soriano&lt;/a&gt;.

I m not sure i understand you meant by saying to load the assets.
It does not work locally on my computer.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-870">Michael Soriano</a>.</p>
<p>I m not sure i understand you meant by saying to load the assets.<br />
It does not work locally on my computer.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-870</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Sat, 28 May 2016 16:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-870</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-868&quot;&gt;Leeon&lt;/a&gt;.

You have to load the assets so the JSfiddle can run. http://doc.jsfiddle.net/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-868">Leeon</a>.</p>
<p>You have to load the assets so the JSfiddle can run. <a href="http://doc.jsfiddle.net/" rel="nofollow ugc">http://doc.jsfiddle.net/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leeon		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-869</link>

		<dc:creator><![CDATA[Leeon]]></dc:creator>
		<pubDate>Sat, 28 May 2016 02:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-869</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-867&quot;&gt;Michael Soriano&lt;/a&gt;.

I had posted the link so you can take a look at the code.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-867">Michael Soriano</a>.</p>
<p>I had posted the link so you can take a look at the code.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leeon		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-868</link>

		<dc:creator><![CDATA[Leeon]]></dc:creator>
		<pubDate>Wed, 25 May 2016 00:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-868</guid>

					<description><![CDATA[https://jsfiddle.net/mdLs2fm2/]]></description>
			<content:encoded><![CDATA[<p><a href="https://jsfiddle.net/mdLs2fm2/" rel="nofollow ugc">https://jsfiddle.net/mdLs2fm2/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-867</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Tue, 24 May 2016 21:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-867</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-866&quot;&gt;Leeon&lt;/a&gt;.

Can you paste to https://jsfiddle.net/ so we can run your code?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-866">Leeon</a>.</p>
<p>Can you paste to <a href="https://jsfiddle.net/" rel="nofollow ugc">https://jsfiddle.net/</a> so we can run your code?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leeon		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-866</link>

		<dc:creator><![CDATA[Leeon]]></dc:creator>
		<pubDate>Tue, 24 May 2016 19:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-866</guid>

					<description><![CDATA[I m not able to post the html file]]></description>
			<content:encoded><![CDATA[<p>I m not able to post the html file</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leeon		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-865</link>

		<dc:creator><![CDATA[Leeon]]></dc:creator>
		<pubDate>Tue, 24 May 2016 19:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-865</guid>

					<description><![CDATA[Hello Michael,
Need your help please !
I tried the exact same code and still not working for me.
here&#039;s the code:
	Image Rotator with jQuery
            Condo One
            Condo Two
            Condo Three
            Condo Four
            Condo Five
            Condo Six
&lt;pre&gt;
$(document).ready(function(){
	$(&#039;.container&#039;).each(function(e){
		if(e == 0){
			$(this).addClass(&#039;current&#039;);
		}
		 $(this).attr(&#039;id&#039;, &#039;handle&#039; + e);
	})
	$(&#039;.tabs li&#039;).each(function(e){
		if(e == 0){
			$(this).addClass(&#039;current&#039;); //adds class current to 1st li
		}
		$(this).wrapInner(&#039;&lt;a&gt;&lt;/a&gt;&#039;); //wraps list items in anchor tag
		$(this).append(&#039;&lt;a&gt;&lt;/a&gt;&#039;); //creates img tag
		$(this).children(&#039;a&#039;).attr(&#039;href&#039;, &#039;#handle&#039; + e);//adds href to the anchors
		y = $(&#039;#handle&#039; + e + &#039; img&#039;).attr(&#039;src&#039;); //grabs src from large pix
		$(this).find(&#039;img&#039;).attr(&#039;src&#039;, y); //appends src to small pix
		t = $(this).children(&#039;a&#039;).text();
		$(&#039;#handle&#039; + e).append(&#039;&#039; + t + &#039;&#039;); //adds h2 and text to big images
	})
	$(&#039;.tabs li a&#039;).click(function(){
		c = $(this).attr(&#039;href&#039;);
		if($(c).hasClass(&#039;current&#039;)){
			return false;
		}else{
			showImage($(c), 20);
			$(&#039;.tabs li&#039;).removeClass(&#039;current&#039;);
			$(this).parent().addClass(&#039;current&#039;);
			return false;
		}
	})
	runRotateImages();
	$(&quot;#featured&quot;).hover(
		function(){
			clearTimeout(xx);
		},
		function(){
			runRotateImages();
		}
	)
})
function showImage(img, duration){
	$(&#039;.container&#039;).removeClass(&#039;current&#039;).css({
			&quot;opacity&quot; : 0.0,
			&quot;zIndex&quot; : 2
			});
	img.animate({opacity:1.0}, duration, function(){
		$(this).addClass(&#039;current&#039;).css({zIndex:1});
	});
}
function rotateImages(){
	var curPhoto = $(&quot;div.current&quot;);
	var nxtPhoto = curPhoto.next();
	var curTab = $(&quot;.tabs li.current&quot;);
	var nxtTab = curTab.next();
	if (nxtPhoto.length == 0) {
		nxtPhoto = $(&#039;#featured div:first&#039;);
		nxtTab = $(&#039;.tabs li:first-child&#039;);
	}
	curTab.removeClass(&#039;current&#039;);
	nxtTab.addClass(&#039;current&#039;);
	showImage(nxtPhoto, 300);
}
function runRotateImages(){
	xx = setInterval(&quot;rotateImages()&quot;, 4000);
}
&lt;/pre&gt;
&lt;pre&gt;
#featured{
 	width:518px;
 	padding: 18px 120px 10px 21px;
	background:  #ebebeb !important;
	position:relative;
	border:1px solid #ccc;
 	height:434px;
 	background:#fff;
 	margin-bottom:35px;
 	border-radius:6px;
 	-moz-border-radius:6px;
 	-webkit-border-radius:6px;
 }
 #featured ul.tabs{
 	position:absolute;
	top:18px;
	left:538px;
 	padding:0;
 	margin:0;
 }
 #featured ul.tabs li{
 	font-size:10px;
 	color:#666;
 	line-height:10px;
 	height:75px;
 	color:#333;
 	overflow:hidden;
 	width:96px;
 	background:#fff;
 	margin-bottom:11px;
 	position:relative;
}
 #featured ul.tabs li a.title{
 	position:absolute;
 	z-index:5;
 	color:#fff;
 	font-family:arial;
 	bottom:7px;
 	width:96px;
 	text-align:center;
 	text-shadow:1px -1px 0 #000;
 	text-decoration:none;
 }
 #featured ul.tabs li img {
 	width:96px;
 	height:75px;
 	opacity:0.5;
	z-index:3;
 }
 #featured ul.tabs li.current img, #featured ul.tabs li img:hover {
 	opacity:1.0;
 }
 #featured div.container img {
 	height: 420px;
     width: 500px;
 	position:absolute;
 }
 #featured div.container {position:relative; z-index:0;}
 #featured div.container.previous {z-index:1;}
 #featured div.container.current {z-index:2;}
#featured h2{
 	font-size:40px;
 	font-family:Arial;
 	color:#fff;
 	padding:5px 5px 5px 12px; margin:0;
 	overflow:hidden;
 	line-height:65px;
 	text-transform:uppercase;
 	height:50px; overflow:hidden;
 	position:absolute;
 	top:350px;
	text-shadow:1px -1px 0 #000;
	text-align:center;
 	letter-spacing:-1px;
	width:475px;
}
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Hello Michael,<br />
Need your help please !<br />
I tried the exact same code and still not working for me.<br />
here&#8217;s the code:<br />
	Image Rotator with jQuery<br />
            Condo One<br />
            Condo Two<br />
            Condo Three<br />
            Condo Four<br />
            Condo Five<br />
            Condo Six</p>
<pre>
$(document).ready(function(){
	$('.container').each(function(e){
		if(e == 0){
			$(this).addClass('current');
		}
		 $(this).attr('id', 'handle' + e);
	})
	$('.tabs li').each(function(e){
		if(e == 0){
			$(this).addClass('current'); //adds class current to 1st li
		}
		$(this).wrapInner('<a></a>'); //wraps list items in anchor tag
		$(this).append('<a></a>'); //creates img tag
		$(this).children('a').attr('href', '#handle' + e);//adds href to the anchors
		y = $('#handle' + e + ' img').attr('src'); //grabs src from large pix
		$(this).find('img').attr('src', y); //appends src to small pix
		t = $(this).children('a').text();
		$('#handle' + e).append('' + t + ''); //adds h2 and text to big images
	})
	$('.tabs li a').click(function(){
		c = $(this).attr('href');
		if($(c).hasClass('current')){
			return false;
		}else{
			showImage($(c), 20);
			$('.tabs li').removeClass('current');
			$(this).parent().addClass('current');
			return false;
		}
	})
	runRotateImages();
	$("#featured").hover(
		function(){
			clearTimeout(xx);
		},
		function(){
			runRotateImages();
		}
	)
})
function showImage(img, duration){
	$('.container').removeClass('current').css({
			"opacity" : 0.0,
			"zIndex" : 2
			});
	img.animate({opacity:1.0}, duration, function(){
		$(this).addClass('current').css({zIndex:1});
	});
}
function rotateImages(){
	var curPhoto = $("div.current");
	var nxtPhoto = curPhoto.next();
	var curTab = $(".tabs li.current");
	var nxtTab = curTab.next();
	if (nxtPhoto.length == 0) {
		nxtPhoto = $('#featured div:first');
		nxtTab = $('.tabs li:first-child');
	}
	curTab.removeClass('current');
	nxtTab.addClass('current');
	showImage(nxtPhoto, 300);
}
function runRotateImages(){
	xx = setInterval("rotateImages()", 4000);
}
</pre>
<pre>
#featured{
 	width:518px;
 	padding: 18px 120px 10px 21px;
	background:  #ebebeb !important;
	position:relative;
	border:1px solid #ccc;
 	height:434px;
 	background:#fff;
 	margin-bottom:35px;
 	border-radius:6px;
 	-moz-border-radius:6px;
 	-webkit-border-radius:6px;
 }
 #featured ul.tabs{
 	position:absolute;
	top:18px;
	left:538px;
 	padding:0;
 	margin:0;
 }
 #featured ul.tabs li{
 	font-size:10px;
 	color:#666;
 	line-height:10px;
 	height:75px;
 	color:#333;
 	overflow:hidden;
 	width:96px;
 	background:#fff;
 	margin-bottom:11px;
 	position:relative;
}
 #featured ul.tabs li a.title{
 	position:absolute;
 	z-index:5;
 	color:#fff;
 	font-family:arial;
 	bottom:7px;
 	width:96px;
 	text-align:center;
 	text-shadow:1px -1px 0 #000;
 	text-decoration:none;
 }
 #featured ul.tabs li img {
 	width:96px;
 	height:75px;
 	opacity:0.5;
	z-index:3;
 }
 #featured ul.tabs li.current img, #featured ul.tabs li img:hover {
 	opacity:1.0;
 }
 #featured div.container img {
 	height: 420px;
     width: 500px;
 	position:absolute;
 }
 #featured div.container {position:relative; z-index:0;}
 #featured div.container.previous {z-index:1;}
 #featured div.container.current {z-index:2;}
#featured h2{
 	font-size:40px;
 	font-family:Arial;
 	color:#fff;
 	padding:5px 5px 5px 12px; margin:0;
 	overflow:hidden;
 	line-height:65px;
 	text-transform:uppercase;
 	height:50px; overflow:hidden;
 	position:absolute;
 	top:350px;
	text-shadow:1px -1px 0 #000;
	text-align:center;
 	letter-spacing:-1px;
	width:475px;
}
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff M		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-864</link>

		<dc:creator><![CDATA[Jeff M]]></dc:creator>
		<pubDate>Fri, 27 Dec 2013 15:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-864</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-863&quot;&gt;Michael Soriano&lt;/a&gt;.

Yes, here it is: http://pastebin.com/Rdcnt0ad]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-863">Michael Soriano</a>.</p>
<p>Yes, here it is: <a href="http://pastebin.com/Rdcnt0ad" rel="nofollow ugc">http://pastebin.com/Rdcnt0ad</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-863</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Mon, 23 Dec 2013 21:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=3009#comment-863</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-862&quot;&gt;Jeff M&lt;/a&gt;.

can you paste your code to http://pastebin.com/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/how-to-create-a-jquery-image-rotator/#comment-862">Jeff M</a>.</p>
<p>can you paste your code to <a href="http://pastebin.com/" rel="nofollow ugc">http://pastebin.com/</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
