<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Reconfigure Theme - Automatic Timing of Features-Block</title>
    <link>http://forums.shopify.com/categories/2/posts/30710</link>
    <language>en-us</language>
    <description>Feed for discussion topic Reconfigure Theme - Automatic Timing of Features-Block</description>
    <item>
      <title>Reconfigure Theme - Automatic Timing of Features-Block</title>
      <author>st_louis</author>
      <pubDate>Tue, 03 Nov 2009 17:22:45 +0000</pubDate>
      <link>http://forums.shopify.com/categories/2/posts/30710</link>
      <guid>http://forums.shopify.com/categories/2/posts/30710</guid>
      <description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I'm using the reconfigure theme with my site. Upon load, I would like my features-block (the slideshow) to automatically move to the next product after x amount of seconds and continously loop through the products.&lt;/p&gt;
&lt;p&gt;For example, the page would display product 1, wait 7 seconds, move to product 2, wait 7 seconds, move to product 3, wait 7 seconds ... etc and back to product 1, wait 7 seconds.&lt;/p&gt;
&lt;p&gt;I'm certain there is some javascript to make this happen, I'm just not sure where or how?&lt;/p&gt;
&lt;p&gt;Thanks in advance to all.&lt;/p&gt;
&lt;p&gt;St Louis.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ss commented</title>
      <author>Ss</author>
      <pubDate>Wed, 04 Nov 2009 17:17:34 +0000</pubDate>
      <link>http://forums.shopify.com/categories/2/posts/30710#comment-30739</link>
      <guid>http://forums.shopify.com/categories/2/posts/30710#comment-30739</guid>
      <description>&lt;p&gt;Hello St Louis&lt;/p&gt;
&lt;p&gt;Thanks to Chris over at&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/"&gt;http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;He created a little snippet just for this.&lt;/p&gt;
&lt;p&gt;If you edit index.liquid and add this little snippet, it should work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;
		jQuery(window).bind("load", function() {
			jQuery("div#slider1").codaSlider()
		});



var theInt = null;
var $crosslink, $navthumb;
var curclicked = 0;

theInterval = function(cur){
	clearInterval(theInt);

	if( typeof cur != 'undefined' )
		curclicked = cur;

	$crosslink.removeClass("active-thumb");
	$navthumb.eq(curclicked).parent().addClass("active-thumb");
		$(".stripNav ul li a").eq(curclicked).trigger('click');

	theInt = setInterval(function(){
		$crosslink.removeClass("active-thumb");
		$navthumb.eq(curclicked).parent().addClass("active-thumb");
		$(".stripNav ul li a").eq(curclicked).trigger('click');
		curclicked++;
		if( 10 == curclicked )
			curclicked = 0;

	}, 3000);
};



$(function(){

	$("#main-photo-slider").codaSlider();

	$navthumb = $(".nav-thumb");
	$crosslink = $(".cross-link");

	$navthumb
	.click(function() {
		var $this = $(this);
		theInterval($this.parent().attr('href').slice(1) - 1);
		return false;
	});

	theInterval();
});

&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the number 10&amp;nbsp;&lt;span&gt;curclicked &lt;span&gt;needs to match the number of featured items you have&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;If a code guru chimes in, you'll be well on your way!&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Cheers and good luck.&lt;/p&gt;
&lt;p&gt;Where's your shop btw?&lt;/p&gt;</description>
    </item>
    <item>
      <title>st_louis commented</title>
      <author>st_louis</author>
      <pubDate>Wed, 04 Nov 2009 22:19:10 +0000</pubDate>
      <link>http://forums.shopify.com/categories/2/posts/30710#comment-30755</link>
      <guid>http://forums.shopify.com/categories/2/posts/30710#comment-30755</guid>
      <description>&lt;p&gt;Works like&amp;nbsp;a charm! Thanks a million to both Ss and Chris at&amp;nbsp;css-tricks!&amp;nbsp;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Kristin commented</title>
      <author>Kristin</author>
      <pubDate>Wed, 04 Nov 2009 23:05:49 +0000</pubDate>
      <link>http://forums.shopify.com/categories/2/posts/30710#comment-30757</link>
      <guid>http://forums.shopify.com/categories/2/posts/30710#comment-30757</guid>
      <description>&lt;p&gt;Hrmm... I would like to do the same... but does that replace anything, or do you simply put the snippet before the &amp;lt;/script&amp;gt;? I don't want to delete or replace anything just yet, since I am not a CSS guru - would definitely appreciate the clarification though!&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Kristin commented</title>
      <author>Kristin</author>
      <pubDate>Wed, 04 Nov 2009 23:13:17 +0000</pubDate>
      <link>http://forums.shopify.com/categories/2/posts/30710#comment-30758</link>
      <guid>http://forums.shopify.com/categories/2/posts/30710#comment-30758</guid>
      <description>&lt;p&gt;Ah... ya know what. I just plopped the code in and it worked.&lt;/p&gt;
&lt;p&gt;For everyone else - copy the whole code snippet from above and replace the basic index.liquid section that looks like this.&lt;/p&gt;
&lt;p&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; jQuery(window).bind("load", function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; jQuery("div#slider1").codaSlider()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Silly me. I thought there was more to it... Thanks Ss&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
