<?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: Animating a CSS Sprite With JavaScript</title>
	<atom:link href="https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Wed, 29 Apr 2026 13:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>By: SoftwareForChildren</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-39055</link>
		<dc:creator><![CDATA[SoftwareForChildren]]></dc:creator>
		<pubDate>Wed, 24 Aug 2016 17:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-39055</guid>
		<description><![CDATA[Thanks for the good information!

Here&#039;s a similar tutorial (only about 15 lines of code), without jQuery:

http://sprite.slicker.me/tutorial/tutorial.htm]]></description>
		<content:encoded><![CDATA[<p>Thanks for the good information!</p>
<p>Here&#8217;s a similar tutorial (only about 15 lines of code), without jQuery:</p>
<p><a href="http://sprite.slicker.me/tutorial/tutorial.htm" rel="nofollow">http://sprite.slicker.me/tutorial/tutorial.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moises Lagos</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-38965</link>
		<dc:creator><![CDATA[Moises Lagos]]></dc:creator>
		<pubDate>Mon, 26 Jan 2015 14:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-38965</guid>
		<description><![CDATA[if the image is vertical as I do?]]></description>
		<content:encoded><![CDATA[<p>if the image is vertical as I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Sweet</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-37589</link>
		<dc:creator><![CDATA[Tim Sweet]]></dc:creator>
		<pubDate>Fri, 30 Aug 2013 00:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-37589</guid>
		<description><![CDATA[I made a little animation plugin animatinator

http://timothyswt.github.io/animatinator/#/home]]></description>
		<content:encoded><![CDATA[<p>I made a little animation plugin animatinator</p>
<p><a href="http://timothyswt.github.io/animatinator/#/home" rel="nofollow">http://timothyswt.github.io/animatinator/#/home</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DigitalDesperado</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-37505</link>
		<dc:creator><![CDATA[DigitalDesperado]]></dc:creator>
		<pubDate>Fri, 16 Aug 2013 20:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-37505</guid>
		<description><![CDATA[....ok it is playing backwards. I eat my words sorry Robert. However I couldn&#039;t get your fix to make it play forwards it just stopped working for me. I used this instead
curPx = curPx - frameWidth;

If nothing else it&#039;s good to know how to make it play either backwards or forwards.]]></description>
		<content:encoded><![CDATA[<p>&#8230;.ok it is playing backwards. I eat my words sorry Robert. However I couldn&#8217;t get your fix to make it play forwards it just stopped working for me. I used this instead<br />
curPx = curPx &#8211; frameWidth;</p>
<p>If nothing else it&#8217;s good to know how to make it play either backwards or forwards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DigitalDesperado</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-37504</link>
		<dc:creator><![CDATA[DigitalDesperado]]></dc:creator>
		<pubDate>Fri, 16 Aug 2013 13:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-37504</guid>
		<description><![CDATA[Thanks for that. Also it is not playing backwards as Robert suggests, I&#039;m an animator and I&#039;m using it to run an animated sequence and it plays forwards. You do not need to alter the code.]]></description>
		<content:encoded><![CDATA[<p>Thanks for that. Also it is not playing backwards as Robert suggests, I&#8217;m an animator and I&#8217;m using it to run an animated sequence and it plays forwards. You do not need to alter the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-34588</link>
		<dc:creator><![CDATA[Robert]]></dc:creator>
		<pubDate>Tue, 19 Mar 2013 16:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-34588</guid>
		<description><![CDATA[Thanks for the tip; one note: the animation is actually playing backwards. To play forwards you need a negative x coordinate, like so:

spriteElement.style.backgroundPosition = &#039;-&#039;+ curPx + &#039;px 0px&#039;;]]></description>
		<content:encoded><![CDATA[<p>Thanks for the tip; one note: the animation is actually playing backwards. To play forwards you need a negative x coordinate, like so:</p>
<p>spriteElement.style.backgroundPosition = &#8216;-&#8216;+ curPx + &#8216;px 0px';</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: juju</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-31285</link>
		<dc:creator><![CDATA[juju]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 12:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-31285</guid>
		<description><![CDATA[good tutorial]]></description>
		<content:encoded><![CDATA[<p>good tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angeline</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-26392</link>
		<dc:creator><![CDATA[Angeline]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 04:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-26392</guid>
		<description><![CDATA[Hmm... Didn&#039;t work for me, did I miss something?

, yes?]]></description>
		<content:encoded><![CDATA[<p>Hmm&#8230; Didn&#8217;t work for me, did I miss something?</p>
<p>, yes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salman</title>
		<link>https://www.webmaster-source.com/2012/06/04/animating-a-css-sprite-with-javascript/#comment-26282</link>
		<dc:creator><![CDATA[Salman]]></dc:creator>
		<pubDate>Thu, 19 Jul 2012 18:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4700#comment-26282</guid>
		<description><![CDATA[thanks... very helpful for me...]]></description>
		<content:encoded><![CDATA[<p>thanks&#8230; very helpful for me&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: www.webmaster-source.com @ 2026-04-29 12:53:52 by W3 Total Cache
-->