<?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"
	>
<channel>
	<title>Comments on: JavaScript Sprite Animation Using jQuery</title>
	<atom:link href="http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/</link>
	<description></description>
	<pubDate>Sun, 20 Jul 2008 21:13:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-734853</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 29 May 2008 00:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-734853</guid>
		<description>how do you add a note book images insted of your pages.Then can you add a item to were you can type on the page? if you can E-mail me At sdydy1@aol.com</description>
		<content:encoded><![CDATA[<p>how do you add a note book images insted of your pages.Then can you add a item to were you can type on the page? if you can E-mail me At <a href="mailto:sdydy1@aol.com">sdydy1@aol.com</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlexW</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-721312</link>
		<dc:creator>AlexW</dc:creator>
		<pubDate>Tue, 13 May 2008 07:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-721312</guid>
		<description>In fact, here is the working PNG if anyone is interested. 

http://www.sitepoint.com/examples/jquery/pageturn-working.png</description>
		<content:encoded><![CDATA[<p>In fact, here is the working PNG if anyone is interested. </p>
<p><a href="http://www.sitepoint.com/examples/jquery/pageturn-working.png" rel="nofollow">http://www.sitepoint.com/examples/jquery/pageturn-working.png</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlexW</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-721311</link>
		<dc:creator>AlexW</dc:creator>
		<pubDate>Tue, 13 May 2008 07:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-721311</guid>
		<description>Devon, if you use Fireworks, I'd be happy to give you a copy of the working graphics I used. If you don't have Fireworks, that file isn't much more use to you than the file used in the example.</description>
		<content:encoded><![CDATA[<p>Devon, if you use Fireworks, I&#8217;d be happy to give you a copy of the working graphics I used. If you don&#8217;t have Fireworks, that file isn&#8217;t much more use to you than the file used in the example.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-719146</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Fri, 09 May 2008 11:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-719146</guid>
		<description>How did you generate the image for the curves and curls?  I need to make one without the orange and blue stripes.  Thanks!</description>
		<content:encoded><![CDATA[<p>How did you generate the image for the curves and curls?  I need to make one without the orange and blue stripes.  Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-697064</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 18 Apr 2008 13:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-697064</guid>
		<description>the finished demo JS is wrong. Right flip.
Notice that when you right flip, the page displays right-side-left
Right Turner code should be:
&lt;code&gt;
/* right page turner */
$("#rightpage").click( function() { 
$pageYpos = $pageYpos - $pageheight; // note: minus page height 
$("#rightpage")
.css("background-position", "0px "+$pageYpos+"px"); 

$("#flip").css("background-position", "top left"); 
setTimeout ('$("#flip").css("background-position", "top center");', 200);
setTimeout ('$("#leftpage").css("background-position", "146px "+$pageYpos+"px");', 200); 
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>the finished demo JS is wrong. Right flip.<br />
Notice that when you right flip, the page displays right-side-left<br />
Right Turner code should be:<br />
<code>
/* right page turner */
$("#rightpage").click( function() { 
$pageYpos = $pageYpos - $pageheight; // note: minus page height 
$("#rightpage")
.css("background-position", "0px "+$pageYpos+"px"); 

$("#flip").css("background-position", "top left"); 
setTimeout ('$("#flip").css("background-position", "top center");', 200);
setTimeout ('$("#leftpage").css("background-position", "146px "+$pageYpos+"px");', 200); 
</code></p>]]></content:encoded>
	</item>
	<item>
		<title>By: nutkong</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-678838</link>
		<dc:creator>nutkong</dc:creator>
		<pubDate>Sun, 06 Apr 2008 08:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-678838</guid>
		<description>Gorgeous</description>
		<content:encoded><![CDATA[<p>Gorgeous</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlexW</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-657368</link>
		<dc:creator>AlexW</dc:creator>
		<pubDate>Wed, 19 Mar 2008 04:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-657368</guid>
		<description>&lt;blockquote&gt;First off awesome script!!!

One question is there a way I could place a button on the page that would skip to a particular page in the book like say page 3 &#038; 4 with out turning the page?&lt;/blockquote&gt;

Thanks chachiisme,

I would take a little bit more coding, but it wouldn't be hard. Off the top of my head, you would need to add a new function.That function would be similar to the #leftpage/#rightpage functions used in the example above, except it would hardcode the position of the background image to the exact position of the page you wanted, rather than just keeping track of it's current Y position ($pageYpos = $pageYpos + $pageheight;) as it does now.

You'd them have to tie that new function to a button or link to set trigger it.</description>
		<content:encoded><![CDATA[<blockquote><p>First off awesome script!!!</p>
<p>One question is there a way I could place a button on the page that would skip to a particular page in the book like say page 3 &#038; 4 with out turning the page?</p></blockquote>
<p>Thanks chachiisme,</p>
<p>I would take a little bit more coding, but it wouldn&#8217;t be hard. Off the top of my head, you would need to add a new function.That function would be similar to the #leftpage/#rightpage functions used in the example above, except it would hardcode the position of the background image to the exact position of the page you wanted, rather than just keeping track of it&#8217;s current Y position ($pageYpos = $pageYpos + $pageheight;) as it does now.</p>
<p>You&#8217;d them have to tie that new function to a button or link to set trigger it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: chachiisme</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-657318</link>
		<dc:creator>chachiisme</dc:creator>
		<pubDate>Wed, 19 Mar 2008 01:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-657318</guid>
		<description>First off awesome script!!!

One question is there a way I could place a button on the page that would skip to a particular page in the book like say page 3 &#38; 4  with out turning the page?</description>
		<content:encoded><![CDATA[<p>First off awesome script!!!</p>
<p>One question is there a way I could place a button on the page that would skip to a particular page in the book like say page 3 &amp; 4  with out turning the page?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: sm</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-657314</link>
		<dc:creator>sm</dc:creator>
		<pubDate>Wed, 19 Mar 2008 01:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-657314</guid>
		<description>First off awesome script!!!

One question is there a way I jump to a particular page.  Like by putting a button that would skip it say page 2 &#38; 3?</description>
		<content:encoded><![CDATA[<p>First off awesome script!!!</p>
<p>One question is there a way I jump to a particular page.  Like by putting a button that would skip it say page 2 &amp; 3?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlexW</title>
		<link>http://www.sitepoint.com/blogs/2007/07/20/javascript-sprite-animation-using-jquery/#comment-656693</link>
		<dc:creator>AlexW</dc:creator>
		<pubDate>Tue, 18 Mar 2008 00:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1952#comment-656693</guid>
		<description>Rags, the post above is a complete explanation on how to achieve the effect, so just follow it through. 

As far as loading new pages as they are called, you would need to use AJAX to preload pages just before they are needed. This is quite doable, but it's outside the scope of what I was trying to achieve with the effect. 

But if you manage to get it running, we'd be keen to see it in action.</description>
		<content:encoded><![CDATA[<p>Rags, the post above is a complete explanation on how to achieve the effect, so just follow it through. </p>
<p>As far as loading new pages as they are called, you would need to use AJAX to preload pages just before they are needed. This is quite doable, but it&#8217;s outside the scope of what I was trying to achieve with the effect. </p>
<p>But if you manage to get it running, we&#8217;d be keen to see it in action.</p>]]></content:encoded>
	</item>
</channel>
</rss>
