<?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: Recreating the MLB.com Content Switcher with jQuery and CSS3</title>
	<atom:link href="http://www.impressivewebs.com/mlb-switcher/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.impressivewebs.com/mlb-switcher/</link>
	<description>Web Design Articles &#38; Tutorials. To make the web impressive.</description>
	<lastBuildDate>Sat, 04 Feb 2012 01:11:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Louis Lazaris</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9846</link>
		<dc:creator>Louis Lazaris</dc:creator>
		<pubDate>Thu, 08 Sep 2011 05:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9846</guid>
		<description>Hey, Justin. Most likely, the problem is occurring because of the following section of CSS in the stylesheet:

&lt;pre&gt;&lt;code&gt;
#photo ul {
	margin-left: 0;
	width: 2880px;
}
&lt;/code&gt;&lt;/pre&gt;

You&#039;ll notice that the unordered list element is given a width of &quot;2880px&quot;. You need to change that to be a number larger than the sum of all the image widths. That&#039;s something that I need to correct in the code, to make it more flexible.

Really, that should not be set in the CSS. I should be calculating the width of all the images, then setting the width of that element in JavaScript, once the browser knows how many images there are, and how wide they are.

So in your case, you can change that to 1250 multplied by the number of images you&#039;re including. If it&#039;s 6 images, then it would be &lt;code&gt;width: 7500px&lt;/code&gt;. To be on the safe side, you should probably make it even bigger than that, maybe 8000.

That should fix it, assuming I&#039;m understanding your problem correctly.</description>
		<content:encoded><![CDATA[<p>Hey, Justin. Most likely, the problem is occurring because of the following section of CSS in the stylesheet:</p>
<pre><code>
#photo ul {
	margin-left: 0;
	width: 2880px;
}
</code></pre>
<p>You&#8217;ll notice that the unordered list element is given a width of &#8220;2880px&#8221;. You need to change that to be a number larger than the sum of all the image widths. That&#8217;s something that I need to correct in the code, to make it more flexible.</p>
<p>Really, that should not be set in the CSS. I should be calculating the width of all the images, then setting the width of that element in JavaScript, once the browser knows how many images there are, and how wide they are.</p>
<p>So in your case, you can change that to 1250 multplied by the number of images you&#8217;re including. If it&#8217;s 6 images, then it would be <code>width: 7500px</code>. To be on the safe side, you should probably make it even bigger than that, maybe 8000.</p>
<p>That should fix it, assuming I&#8217;m understanding your problem correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Clapper</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9840</link>
		<dc:creator>Justin Clapper</dc:creator>
		<pubDate>Wed, 07 Sep 2011 17:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9840</guid>
		<description>I&#039;m trying to find a nice image carousel like yours for a business site I&#039;m building, and I re-purposed it for 1250 x 600px images. Everything fine except I found that the images line up in a vertical stack instead of horizontally, thus after the first image cycles, you cant see the rest of them. Tried everything. Any ideas how to keep them horizontally aligned?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to find a nice image carousel like yours for a business site I&#8217;m building, and I re-purposed it for 1250 x 600px images. Everything fine except I found that the images line up in a vertical stack instead of horizontally, thus after the first image cycles, you cant see the rest of them. Tried everything. Any ideas how to keep them horizontally aligned?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 网页前端设计爱好者 &#187; Blog Archive &#187; 很酷的 jQuery 幻灯片演示和下载-60款</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9793</link>
		<dc:creator>网页前端设计爱好者 &#187; Blog Archive &#187; 很酷的 jQuery 幻灯片演示和下载-60款</dc:creator>
		<pubDate>Fri, 02 Sep 2011 09:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9793</guid>
		<description>[...] MLB.com Content Switcher with jQuery and CSS3 (演示 &#124; 下载) [...]</description>
		<content:encoded><![CDATA[<p>[...] MLB.com Content Switcher with jQuery and CSS3 (演示 | 下载) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis Lazaris</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9767</link>
		<dc:creator>Louis Lazaris</dc:creator>
		<pubDate>Tue, 30 Aug 2011 22:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9767</guid>
		<description>Cool! Glad it worked out for you.</description>
		<content:encoded><![CDATA[<p>Cool! Glad it worked out for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Selene Lasasso</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9697</link>
		<dc:creator>Selene Lasasso</dc:creator>
		<pubDate>Fri, 26 Aug 2011 11:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9697</guid>
		<description>What a great blog post, is there any way I can receive an email when you write a new update?</description>
		<content:encoded><![CDATA[<p>What a great blog post, is there any way I can receive an email when you write a new update?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Phillips</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9667</link>
		<dc:creator>James Phillips</dc:creator>
		<pubDate>Mon, 22 Aug 2011 21:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9667</guid>
		<description>Hey Louis:

I thought you might want to see your code in action! I have provided you with a link to my latest web project.

www.honeyvillegrain.com</description>
		<content:encoded><![CDATA[<p>Hey Louis:</p>
<p>I thought you might want to see your code in action! I have provided you with a link to my latest web project.</p>
<p><a href="http://www.honeyvillegrain.com" rel="nofollow">http://www.honeyvillegrain.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ergonomie web</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9474</link>
		<dc:creator>Ergonomie web</dc:creator>
		<pubDate>Wed, 03 Aug 2011 08:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9474</guid>
		<description>Nice use of CSS 3 I&#039;ll definitely use it</description>
		<content:encoded><![CDATA[<p>Nice use of CSS 3 I&#8217;ll definitely use it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Phillips</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9392</link>
		<dc:creator>James Phillips</dc:creator>
		<pubDate>Mon, 18 Jul 2011 22:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9392</guid>
		<description>Cool, I guess I would have found that out sooner if I had some other browsers to test with at work. lol. I just started working for a company that has never had a real inhouse web dev and  The IT department is lagging on giving me admin privileges, so I cant install any browser and have been testing in just IE8.</description>
		<content:encoded><![CDATA[<p>Cool, I guess I would have found that out sooner if I had some other browsers to test with at work. lol. I just started working for a company that has never had a real inhouse web dev and  The IT department is lagging on giving me admin privileges, so I cant install any browser and have been testing in just IE8.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis Lazaris</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9391</link>
		<dc:creator>Louis Lazaris</dc:creator>
		<pubDate>Mon, 18 Jul 2011 18:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9391</guid>
		<description>I see the problem now. The problem you&#039;re describing is an IE-only issue. If you test in Chrome, Firefox, Safari, or Opera, it will do exactly what you want.

I&#039;m guessing the problem occurs in IE8 and below. I don&#039;t currently have IE9 installed, but I&#039;ve tested in IE10, and it works fine in that. I&#039;ll have to check out the code when I get a chance, it might be a z-index thing or another problem.</description>
		<content:encoded><![CDATA[<p>I see the problem now. The problem you&#8217;re describing is an IE-only issue. If you test in Chrome, Firefox, Safari, or Opera, it will do exactly what you want.</p>
<p>I&#8217;m guessing the problem occurs in IE8 and below. I don&#8217;t currently have IE9 installed, but I&#8217;ve tested in IE10, and it works fine in that. I&#8217;ll have to check out the code when I get a chance, it might be a z-index thing or another problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Phillips</title>
		<link>http://www.impressivewebs.com/mlb-switcher/#comment-9390</link>
		<dc:creator>James Phillips</dc:creator>
		<pubDate>Mon, 18 Jul 2011 18:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1841#comment-9390</guid>
		<description>ok, here is the screen shot of this: http://i1089.photobucket.com/albums/i351/honeyville-graphics/help-me.jpg

Hopefuly it makes sense.</description>
		<content:encoded><![CDATA[<p>ok, here is the screen shot of this: <a href="http://i1089.photobucket.com/albums/i351/honeyville-graphics/help-me.jpg" rel="nofollow">http://i1089.photobucket.com/albums/i351/honeyville-graphics/help-me.jpg</a></p>
<p>Hopefuly it makes sense.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
