<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Introducing MooTools&#160;ScrollSpy</title> <atom:link href="http://davidwalsh.name/mootools-scrollspy/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mootools-scrollspy</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 14:01:31 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Vinay Vidyasagar</title><link>http://davidwalsh.name/mootools-scrollspy#comment-31679</link> <dc:creator>Vinay Vidyasagar</dc:creator> <pubDate>Tue, 17 Apr 2012 03:58:26 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-31679</guid> <description>Hi David,Really nice plugin. Was wondering if you&#039;re planning to make a wordpress plugin out of this. Sorry might be a noob question. But thought I&#039;d ask! :)</description> <content:encoded><![CDATA[<p>Hi David,</p><p>Really nice plugin. Was wondering if you&#8217;re planning to make a wordpress plugin out of this. Sorry might be a noob question. But thought I&#8217;d ask! :)</p> ]]></content:encoded> </item> <item><title>By: Joe Isaacson</title><link>http://davidwalsh.name/mootools-scrollspy#comment-31474</link> <dc:creator>Joe Isaacson</dc:creator> <pubDate>Sun, 08 Apr 2012 05:06:06 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-31474</guid> <description>This is pretty great, awesome touch/feel. This is a very Jr question, but do I have to grab the &quot;MooTools JavaScript Class&quot; first part of text in order to implement example 4 onto my site? Thanks!</description> <content:encoded><![CDATA[<p>This is pretty great, awesome touch/feel. This is a very Jr question, but do I have to grab the &#8220;MooTools JavaScript Class&#8221; first part of text in order to implement example 4 onto my site? Thanks!</p> ]]></content:encoded> </item> <item><title>By: Andrey</title><link>http://davidwalsh.name/mootools-scrollspy#comment-31454</link> <dc:creator>Andrey</dc:creator> <pubDate>Thu, 05 Apr 2012 08:40:58 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-31454</guid> <description>Hello.
Very good plugin. Thanks!
Look please don&#039;t work correctly function stop() in file ScrollSpy-yui-compressed.js</description> <content:encoded><![CDATA[<p>Hello.<br
/> Very good plugin. Thanks!<br
/> Look please don&#8217;t work correctly function stop() in file ScrollSpy-yui-compressed.js</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/mootools-scrollspy#comment-26210</link> <dc:creator>David Walsh</dc:creator> <pubDate>Sun, 24 Jul 2011 21:00:27 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-26210</guid> <description>There&#039;s a new version available, BTW:  https://github.com/darkwing/ScrollSpy/blob/master/Source/ScrollSpy.js</description> <content:encoded><![CDATA[<p>There&#8217;s a new version available, BTW: <a
href="https://github.com/darkwing/ScrollSpy/blob/master/Source/ScrollSpy.js" rel="nofollow">https://github.com/darkwing/ScrollSpy/blob/master/Source/ScrollSpy.js</a></p> ]]></content:encoded> </item> <item><title>By: Daniel Ritter</title><link>http://davidwalsh.name/mootools-scrollspy#comment-26207</link> <dc:creator>Daniel Ritter</dc:creator> <pubDate>Sun, 24 Jul 2011 19:46:44 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-26207</guid> <description>Thank you Simon André!&lt;code&gt;
/* fix max */
if(this.max == 0)
{
var ss = this.container.getScrollSize();
this.options.max = this.options.mode == &#039;vertical&#039; ? ss.y : ss.x;
this.max = this.options.max;
}
&lt;/code&gt;was the solution.</description> <content:encoded><![CDATA[<p>Thank you Simon André!</p><p><code><br
/> /* fix max */<br
/> if(this.max == 0)<br
/> {<br
/> var ss = this.container.getScrollSize();<br
/> this.options.max = this.options.mode == 'vertical' ? ss.y : ss.x;<br
/> this.max = this.options.max;<br
/> }<br
/> </code></p><p>was the solution.</p> ]]></content:encoded> </item> <item><title>By: Daniel Ritter</title><link>http://davidwalsh.name/mootools-scrollspy#comment-26205</link> <dc:creator>Daniel Ritter</dc:creator> <pubDate>Sun, 24 Jul 2011 17:38:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-26205</guid> <description>It doesn&#039;t work on my website. I have mootools 1.3.5. Could somebody get it work with mootools 1.3.5?</description> <content:encoded><![CDATA[<p>It doesn&#8217;t work on my website. I have mootools 1.3.5. Could somebody get it work with mootools 1.3.5?</p> ]]></content:encoded> </item> <item><title>By: Daniel Irmler</title><link>http://davidwalsh.name/mootools-scrollspy#comment-23474</link> <dc:creator>Daniel Irmler</dc:creator> <pubDate>Wed, 13 Apr 2011 03:17:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-23474</guid> <description>Love this plugin! Hey I am working on a site and would like to as you scroll down change not just the background color but also the background image is this possible using this plugin (As shown in example #3). Just wanted to see if their were some code gurus out there who know how to make this happen. THANKS!</description> <content:encoded><![CDATA[<p>Love this plugin! Hey I am working on a site and would like to as you scroll down change not just the background color but also the background image is this possible using this plugin (As shown in example #3). Just wanted to see if their were some code gurus out there who know how to make this happen. THANKS!</p> ]]></content:encoded> </item> <item><title>By: Philip Dahl</title><link>http://davidwalsh.name/mootools-scrollspy#comment-23449</link> <dc:creator>Philip Dahl</dc:creator> <pubDate>Sun, 10 Apr 2011 23:28:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-23449</guid> <description>This is great! there is so much potential for this. I stumbled across a site using your tool to make it so things with fixed positioning won&#039;t be fixed anymore but absolutely positioned when scrolling to the right if the content is only supposed to scroll vertically. However his method doesn&#039;t account for a screen that is aligned to the center, leaving me with a broken menu alignment whenever I move the scrollbar.This is the js
&lt;code&gt;
var ss = new ScrollSpy({
mode: &#039;horizontal&#039;,
onTick: function(position,state,enters,leaves) {
$(&quot;menu&quot;).style.left = -position.x+&quot;px&quot;;
},
container: window
});
&lt;/code&gt;the HTML
&lt;code&gt;
&lt;!-- wrapper for content /--&gt;
&lt;!-- Start Menu Wrapper /--&gt;
&lt;a href=&quot;index.html&quot; title=&quot;home&quot; rel=&quot;nofollow&quot;&gt;RYAN&lt;/a&gt;
&lt;a href=&quot;why.html&quot; title=&quot;why&quot; rel=&quot;nofollow&quot;&gt;WHY&lt;/a&gt;
&lt;!-- End Second set of links /--&gt;
&lt;!-- End Menu Wrapper/--&gt;
&lt;!-- Start Content/--&gt;
&lt;!-- End Content/--&gt;
&lt;!-- End Content Wrap /--&gt;
&lt;/code&gt;the css
&lt;code&gt;
#menu{
margin:0;
float:left;
display:block;
position:fixed;
overflow:hidden;
}
#content_wrap{
padding:34px 34px 94px 34px;
width:892px;
overflow:hidden;
margin:0 auto;
}&lt;/code&gt;how can I make it so this only starts when someone scrolls horizontally (because of a small browser window or monitor) and goes &quot;back to normal&quot; if the screen is big enough where there are no horizontal scroll bars because the horizontal width doesn&#039;t go past the browser size?</description> <content:encoded><![CDATA[<p>This is great! there is so much potential for this. I stumbled across a site using your tool to make it so things with fixed positioning won&#8217;t be fixed anymore but absolutely positioned when scrolling to the right if the content is only supposed to scroll vertically. However his method doesn&#8217;t account for a screen that is aligned to the center, leaving me with a broken menu alignment whenever I move the scrollbar.</p><p>This is the js<br
/> <code><br
/> var ss = new ScrollSpy({<br
/> mode: 'horizontal',<br
/> onTick: function(position,state,enters,leaves) {<br
/> $("menu").style.left = -position.x+"px";<br
/> },<br
/> container: window<br
/> });<br
/> </code></p><p>the HTML<br
/> <code><br
/> <br
/></p><p> <a
href="index.html" title="home" rel="nofollow">RYAN</a></p><p> <a
href="why.html" title="why" rel="nofollow">WHY</a></p><p> <br
/> <br
/></p><p> <br
/> <br
/> </code></p><p>the css<br
/> <code><br
/> #menu{<br
/> margin:0;<br
/> float:left;<br
/> display:block;<br
/> position:fixed;<br
/> overflow:hidden;<br
/> }<br
/> #content_wrap{<br
/> padding:34px 34px 94px 34px;<br
/> width:892px;<br
/> overflow:hidden;<br
/> margin:0 auto;<br
/> }</p><p></code></p><p>how can I make it so this only starts when someone scrolls horizontally (because of a small browser window or monitor) and goes &#8220;back to normal&#8221; if the screen is big enough where there are no horizontal scroll bars because the horizontal width doesn&#8217;t go past the browser size?</p> ]]></content:encoded> </item> <item><title>By: Simon André</title><link>http://davidwalsh.name/mootools-scrollspy#comment-22393</link> <dc:creator>Simon André</dc:creator> <pubDate>Fri, 21 Jan 2011 16:58:32 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-22393</guid> <description>Hey David !Thanks a lot for this great class !Just a word : i&#039;m not sure, but you wrote thoses lines :
&lt;code&gt;
/* fix max */
if(this.max == 0)
{
var ss = this.container.getScrollSize();
this.options.max = this.options.mode == &#039;vertical&#039; ? ss.y : ss.x;
}
&lt;/code&gt;But you do not fix &quot;this.max&quot; but only &quot;this.options.max&quot;. Therefore, shouldn&#039;t you use &quot;this.options.max&quot; in the rest of the code, or modify you code such as :
&lt;code&gt;
/* fix max */
if(this.max == 0)
{
var ss = this.container.getScrollSize();
this.options.max = this.options.mode == &#039;vertical&#039; ? ss.y : ss.x;
this.max = this.options.max;
}
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Hey David !</p><p>Thanks a lot for this great class !</p><p>Just a word : i&#8217;m not sure, but you wrote thoses lines :<br
/> <code><br
/> /* fix max */<br
/> if(this.max == 0)<br
/> {<br
/> var ss = this.container.getScrollSize();<br
/> this.options.max = this.options.mode == 'vertical' ? ss.y : ss.x;<br
/> }<br
/> </code></p><p>But you do not fix &#8220;this.max&#8221; but only &#8220;this.options.max&#8221;. Therefore, shouldn&#8217;t you use &#8220;this.options.max&#8221; in the rest of the code, or modify you code such as :<br
/> <code><br
/> /* fix max */<br
/> if(this.max == 0)<br
/> {<br
/> var ss = this.container.getScrollSize();<br
/> this.options.max = this.options.mode == 'vertical' ? ss.y : ss.x;<br
/> this.max = this.options.max;<br
/> }<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: masted</title><link>http://davidwalsh.name/mootools-scrollspy#comment-20045</link> <dc:creator>masted</dc:creator> <pubDate>Fri, 17 Sep 2010 10:44:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2232#comment-20045</guid> <description>David, copy button copys text without new line breaks</description> <content:encoded><![CDATA[<p>David, copy button copys text without new line breaks</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/7 queries in 0.011 seconds using disk: basic
Object Caching 804/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 10:30:54 -->
