<?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: Sweet Pages: A jQuery Pagination Solution</title>
	<atom:link href="http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/</link>
	<description>Web Development Tutorials &#38; Resources</description>
	<lastBuildDate>Wed, 16 May 2012 02:12:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Basti</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-22911</link>
		<dc:creator>Basti</dc:creator>
		<pubDate>Mon, 26 Mar 2012 14:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-22911</guid>
		<description>It is possible to add “Next” and “Previous” buttons ?

Thanks !</description>
		<content:encoded><![CDATA[<p>It is possible to add “Next” and “Previous” buttons ?</p>
<p>Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codicode</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-22598</link>
		<dc:creator>Codicode</dc:creator>
		<pubDate>Fri, 09 Mar 2012 16:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-22598</guid>
		<description>Thanks for sharing. it&#039;s smooth and looks very good.
Nice job!</description>
		<content:encoded><![CDATA[<p>Thanks for sharing. it's smooth and looks very good.<br />
Nice job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alhoseany</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-22163</link>
		<dc:creator>alhoseany</dc:creator>
		<pubDate>Mon, 20 Feb 2012 12:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-22163</guid>
		<description>Guys, about adding the controls on top and bottom at the same time you need to change this:

replace this part in the script.js:
&lt;pre&gt;
var controls = $(&#039;.swControls&#039;).detach();
&lt;/pre&gt;
with this
&lt;pre&gt;
$(&#039;.swControls&#039;).clone(true).addClass(&quot;topc&quot;).prependTo(&#039;#main&#039;);
	var controls = $(&#039;.swControls:eq(1)&#039;).detach();
&lt;/pre&gt;
and this part in the script.js:
&lt;pre&gt;
$(this).addClass(&#039;active&#039;).siblings().removeClass(&#039;active&#039;);
&lt;/pre&gt;
with this
&lt;pre&gt;
if($(this).parent().hasClass(&#039;topc&#039;))
{
	var bclick = $(this).index();
	$(this).addClass(&#039;active&#039;).siblings().removeClass(&#039;active&#039;);
	$(&#039;.swControls:not(.topc) a&#039;).eq(bclick).addClass(&#039;active&#039;).siblings().removeClass(&#039;active&#039;);
}
else
{
	var bclick = $(this).index();
	$(this).addClass(&#039;active&#039;).siblings().removeClass(&#039;active&#039;);
	$(&#039;.swControls:not(.topc)&#039;)
	$(&#039;.topc a&#039;).eq(bclick).addClass(&#039;active&#039;).siblings().removeClass(&#039;active&#039;);
}
&lt;/pre&gt;

Finally this to styles.css
&lt;pre&gt;
.topc {
    margin-top: -20px;
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Guys, about adding the controls on top and bottom at the same time you need to change this:</p>
<p>replace this part in the script.js:</p>
<pre>
var controls = $('.swControls').detach();
</pre>
<p>with this</p>
<pre>
$('.swControls').clone(true).addClass(&quot;topc&quot;).prependTo('#main');
	var controls = $('.swControls:eq(1)').detach();
</pre>
<p>and this part in the script.js:</p>
<pre>
$(this).addClass('active').siblings().removeClass('active');
</pre>
<p>with this</p>
<pre>
if($(this).parent().hasClass('topc'))
{
	var bclick = $(this).index();
	$(this).addClass('active').siblings().removeClass('active');
	$('.swControls:not(.topc) a').eq(bclick).addClass('active').siblings().removeClass('active');
}
else
{
	var bclick = $(this).index();
	$(this).addClass('active').siblings().removeClass('active');
	$('.swControls:not(.topc)')
	$('.topc a').eq(bclick).addClass('active').siblings().removeClass('active');
}
</pre>
<p>Finally this to styles.css</p>
<pre>
.topc {
    margin-top: -20px;
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-21355</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 02 Jan 2012 23:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-21355</guid>
		<description>Ok, I&#039;m a persistent git and eventually I figured it all out. The main thing was a spelling mistake. Damn! Then after that there were CSS issues that I&#039;m still tweaking to get this aligned correctly. Any CSS wiz&#039;s that feel like giving me a hint on why all my images are shifted to the right would find me very grateful.</description>
		<content:encoded><![CDATA[<p>Ok, I'm a persistent git and eventually I figured it all out. The main thing was a spelling mistake. Damn! Then after that there were CSS issues that I'm still tweaking to get this aligned correctly. Any CSS wiz's that feel like giving me a hint on why all my images are shifted to the right would find me very grateful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-21352</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 02 Jan 2012 22:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-21352</guid>
		<description>Oh also, RAD MKT, it may be of interest to you that I did precisely what you suggest -- changing # anchors and changing them to classes -- and I think that part of things works. It&#039;s only when it gets to lines 70-95 where things seem to not go to plan (and I&#039;m left with no navigational elements).</description>
		<content:encoded><![CDATA[<p>Oh also, RAD MKT, it may be of interest to you that I did precisely what you suggest -- changing # anchors and changing them to classes -- and I think that part of things works. It's only when it gets to lines 70-95 where things seem to not go to plan (and I'm left with no navigational elements).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-21351</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 02 Jan 2012 22:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-21351</guid>
		<description>Great content and instruction. I decided to take this example and bring it into my Wordpress environment. I&#039;m a bit of a novice to jQuery and relatively new to Wordpress so I&#039;m in a &quot;high risk group&quot; for making dumb mistakes but I&#039;ve been banging my head for a while now and hoping the group can help. 

Take a look at my demo page: http://ken.net/xxyyzz 

It displays the thumbnails appropriately and the overflow goes into a hidden page to the right but the navigational elements never come up. :^(

Don&#039;t know if this has any bearing on my problem but one thing I had to do to get this working was to change away from the &#039;$&#039; reference in lines 97 to 111 in the JS file as Jan suggested earlier. This was driving me crazy but changing that made it so it started to run the script and clearly has done the work of breaking the  elements into discrete pages. No if only I could get the navigational elements to show up. 

Any help would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Great content and instruction. I decided to take this example and bring it into my WordPress environment. I'm a bit of a novice to jQuery and relatively new to WordPress so I'm in a "high risk group" for making dumb mistakes but I've been banging my head for a while now and hoping the group can help. </p>
<p>Take a look at my demo page: http://ken.net/xxyyzz </p>
<p>It displays the thumbnails appropriately and the overflow goes into a hidden page to the right but the navigational elements never come up. :^(</p>
<p>Don't know if this has any bearing on my problem but one thing I had to do to get this working was to change away from the '$' reference in lines 97 to 111 in the JS file as Jan suggested earlier. This was driving me crazy but changing that made it so it started to run the script and clearly has done the work of breaking the  elements into discrete pages. No if only I could get the navigational elements to show up. </p>
<p>Any help would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-20760</link>
		<dc:creator>Axel</dc:creator>
		<pubDate>Sun, 04 Dec 2011 09:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-20760</guid>
		<description>did you find the answer?</description>
		<content:encoded><![CDATA[<p>did you find the answer?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RAD MKT</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-20685</link>
		<dc:creator>RAD MKT</dc:creator>
		<pubDate>Wed, 30 Nov 2011 13:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-20685</guid>
		<description>Hi there,

First off, great work!

I am curious if the #holder and #mail ids can be changed to classes. 

The reason is because I&#039;m trying to implement more than one of these paginated blocks on one page. 

When I modify the js/ids to classes, all of the paginated items get grouped into one block, when it would be ideal for them to be separated.

Any input would be most appreciated.</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>First off, great work!</p>
<p>I am curious if the #holder and #mail ids can be changed to classes. </p>
<p>The reason is because I'm trying to implement more than one of these paginated blocks on one page. </p>
<p>When I modify the js/ids to classes, all of the paginated items get grouped into one block, when it would be ideal for them to be separated.</p>
<p>Any input would be most appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-13930</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Thu, 23 Dec 2010 06:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-13930</guid>
		<description>I&#039;m having a problem. The li goes under the ul holder at the bottom when setting it to display one li per page, help?</description>
		<content:encoded><![CDATA[<p>I'm having a problem. The li goes under the ul holder at the bottom when setting it to display one li per page, help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jan</title>
		<link>http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/#comment-12544</link>
		<dc:creator>jan</dc:creator>
		<pubDate>Fri, 05 Nov 2010 11:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=879#comment-12544</guid>
		<description>PS: the above piece of code goes into script.js and replaces the lines 97 to 111

sorry about that</description>
		<content:encoded><![CDATA[<p>PS: the above piece of code goes into script.js and replaces the lines 97 to 111</p>
<p>sorry about that</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 355/356 objects using apc
Content Delivery Network via cdn.tutorialzine.com

Served from: tutorialzine.com @ 2012-05-16 18:09:50 -->
