<?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: Improved Animated Scrolling Script for Same-Page Links</title>
	<atom:link href="http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:50:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nikola</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-84535</link>
		<dc:creator>Nikola</dc:creator>
		<pubDate>Tue, 18 Oct 2011 14:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-84535</guid>
		<description>Thank you for this answer. I&#039;ve been looking for an alternative for horizontal scroll and your script works wonderfully.

Once again thank you very much.</description>
		<content:encoded><![CDATA[<p>Thank you for this answer. I&#8217;ve been looking for an alternative for horizontal scroll and your script works wonderfully.</p>
<p>Once again thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maud Ward</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-84083</link>
		<dc:creator>Maud Ward</dc:creator>
		<pubDate>Sat, 30 Jul 2011 01:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-84083</guid>
		<description>I have added this code into my webpage that I am working on, but I am having issues, and am not sure how to fix them.

I have a navigation to one side of the page in its own div container, and another div container with the anchor tags for scrolling. When I click something, the entire page slides smoothly just a little bit, but the div container that&#039;s supposed to be scrolling with the content still isn&#039;t smooth scrolling. I&#039;m wondering if it&#039;s because they are in two different divs? Is there any way to fix this? If it would help I can upload the page to my server or something.</description>
		<content:encoded><![CDATA[<p>I have added this code into my webpage that I am working on, but I am having issues, and am not sure how to fix them.</p>
<p>I have a navigation to one side of the page in its own div container, and another div container with the anchor tags for scrolling. When I click something, the entire page slides smoothly just a little bit, but the div container that&#8217;s supposed to be scrolling with the content still isn&#8217;t smooth scrolling. I&#8217;m wondering if it&#8217;s because they are in two different divs? Is there any way to fix this? If it would help I can upload the page to my server or something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83887</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Tue, 19 Jul 2011 14:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83887</guid>
		<description>Have you taken a look at the smooth scroll plugin that I wrote? All my development efforts for this feature are going towards the &lt;a href=&quot;http://github.com/kswedberg/jquery-smooth-scroll/&quot; rel=&quot;nofollow&quot;&gt;plugin&lt;/a&gt;.  If the plugin exhibits the same problem, please &lt;a href=&quot;https://github.com/kswedberg/jquery-smooth-scroll/issues/new&quot; rel=&quot;nofollow&quot;&gt;file a ticket&lt;/a&gt;. Thanks!</description>
		<content:encoded><![CDATA[<p>Have you taken a look at the smooth scroll plugin that I wrote? All my development efforts for this feature are going towards the <a href="http://github.com/kswedberg/jquery-smooth-scroll/" rel="nofollow">plugin</a>.  If the plugin exhibits the same problem, please <a href="https://github.com/kswedberg/jquery-smooth-scroll/issues/new" rel="nofollow">file a ticket</a>. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ming</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83886</link>
		<dc:creator>Ming</dc:creator>
		<pubDate>Tue, 19 Jul 2011 14:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83886</guid>
		<description>Hi

I was wondering if you&#039;ve had a chance to review the very first comment at the top of the page?

For some reason on the v4 or the last update you have of the code above, the changes to move the top 20 pixels down from the top doesn&#039;t work?

var targetOffset = $target.offset().top - 20;

What it does is move the page to the target -20pixels but then resits itself back to 0 again. So by the time it&#039;s at rest it&#039;s not -20 pixels but at the original position...?

Any ideas as to how to fix that?

Hmm.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I was wondering if you&#8217;ve had a chance to review the very first comment at the top of the page?</p>
<p>For some reason on the v4 or the last update you have of the code above, the changes to move the top 20 pixels down from the top doesn&#8217;t work?</p>
<p>var targetOffset = $target.offset().top &#8211; 20;</p>
<p>What it does is move the page to the target -20pixels but then resits itself back to 0 again. So by the time it&#8217;s at rest it&#8217;s not -20 pixels but at the original position&#8230;?</p>
<p>Any ideas as to how to fix that?</p>
<p>Hmm.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rittman</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83802</link>
		<dc:creator>Matt Rittman</dc:creator>
		<pubDate>Fri, 08 Jul 2011 14:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83802</guid>
		<description>I thought that was the problem too until I went back to the previous easing plugin to find out that didn&#039;t fix the issue. I must have done something somewhere... Haha don&#039;t worry about it man, I&#039;ll get it fixed eventually ;)

Thanks though, I really appreciate your assistance!

Matt</description>
		<content:encoded><![CDATA[<p>I thought that was the problem too until I went back to the previous easing plugin to find out that didn&#8217;t fix the issue. I must have done something somewhere&#8230; Haha don&#8217;t worry about it man, I&#8217;ll get it fixed eventually ;)</p>
<p>Thanks though, I really appreciate your assistance!</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83801</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Fri, 08 Jul 2011 14:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83801</guid>
		<description>The lava lamp plugin might be failing because you replaced the easing plugin that it was apparently using. Feel free to contact me (my first name at this site&#039;s domain) if you&#039;d like some additional help with that. Not sure I&#039;ll have a whole lot of time, but if I do I&#039;d be happy to take a look.</description>
		<content:encoded><![CDATA[<p>The lava lamp plugin might be failing because you replaced the easing plugin that it was apparently using. Feel free to contact me (my first name at this site&#8217;s domain) if you&#8217;d like some additional help with that. Not sure I&#8217;ll have a whole lot of time, but if I do I&#8217;d be happy to take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rittman</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83800</link>
		<dc:creator>Matt Rittman</dc:creator>
		<pubDate>Fri, 08 Jul 2011 14:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83800</guid>
		<description>Ahhh perfect. Thanks man, I apologize for my inexperience with this stuff. Now I need to figure out how my lavalamp menu got broken!</description>
		<content:encoded><![CDATA[<p>Ahhh perfect. Thanks man, I apologize for my inexperience with this stuff. Now I need to figure out how my lavalamp menu got broken!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83799</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Fri, 08 Jul 2011 14:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83799</guid>
		<description>It just means that instead of writing &lt;code&gt;smoothScroll()&lt;/code&gt; , you should write &lt;code&gt;smoothScroll({offset: -20})&lt;/code&gt;. Does that make sense?</description>
		<content:encoded><![CDATA[<p>It just means that instead of writing <code>smoothScroll()</code> , you should write <code>smoothScroll({offset: -20})</code>. Does that make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rittman</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83798</link>
		<dc:creator>Matt Rittman</dc:creator>
		<pubDate>Fri, 08 Jul 2011 14:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83798</guid>
		<description>Hmmm... not really sure what that means. Wish I knew more about jQuery ;)</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; not really sure what that means. Wish I knew more about jQuery ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links/comment-page-1#comment-83797</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Fri, 08 Jul 2011 13:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links#comment-83797</guid>
		<description>Hey Matt,
Glad I could help! To change the offset, pass in an options map with an &lt;code&gt;offset&lt;/code&gt; property set to the desired offset: &lt;code&gt;$(&#039;.backtotop&#039;).smoothScroll({offset: -20}); &lt;/code&gt;.

The Readme file at  https://github.com/kswedberg/jquery-smooth-scroll has a few more examples and a full list of options.</description>
		<content:encoded><![CDATA[<p>Hey Matt,<br />
Glad I could help! To change the offset, pass in an options map with an <code>offset</code> property set to the desired offset: <code>$('.backtotop').smoothScroll({offset: -20}); </code>.</p>
<p>The Readme file at  <a href="https://github.com/kswedberg/jquery-smooth-scroll" rel="nofollow">https://github.com/kswedberg/jquery-smooth-scroll</a> has a few more examples and a full list of options.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 11/24 queries in 0.007 seconds using disk: basic
Object Caching 386/399 objects using disk: basic
Content Delivery Network via learningjquery.kswedberg.netdna-cdn.com

Served from: www.learningjquery.com @ 2012-02-08 17:59:55 -->
