<?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: Mootools CSS Styled Scrollbar</title>
	<atom:link href="http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/</link>
	<description>Publicing platform</description>
	<lastBuildDate>Thu, 11 Mar 2010 19:44:05 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniela</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-24427</link>
		<dc:creator>Daniela</dc:creator>
		<pubDate>Tue, 21 Oct 2008 12:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-24427</guid>
		<description>Spent hours, but it doesnt work at all with version 1.11.

		
			/*  */
		

Has somebody an idea ... I&#039;m so frustrated width it.

Daniela</description>
		<content:encoded><![CDATA[<p>Spent hours, but it doesnt work at all with version 1.11.</p>
<p>			/*  */</p>
<p>Has somebody an idea &#8230; I&#8217;m so frustrated width it.</p>
<p>Daniela</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jp loh</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-22516</link>
		<dc:creator>jp loh</dc:creator>
		<pubDate>Mon, 01 Sep 2008 19:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-22516</guid>
		<description>anybody encountered problems with this on safari (mac)?</description>
		<content:encoded><![CDATA[<p>anybody encountered problems with this on safari (mac)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tetsuo</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-21315</link>
		<dc:creator>Tetsuo</dc:creator>
		<pubDate>Wed, 06 Aug 2008 12:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-21315</guid>
		<description>Can&#039;t get my head around the v1.11 work around :(</description>
		<content:encoded><![CDATA[<p>Can&#8217;t get my head around the v1.11 work around :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Noormann</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-19379</link>
		<dc:creator>Mark Noormann</dc:creator>
		<pubDate>Sun, 29 Jun 2008 10:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-19379</guid>
		<description>I change the script a little bit more ... now if there is nothing to scroll, the scollbar will fade out:

function makeScrollbar(content,scrollbar,handle,horizontal,ignoreMouse){
if ( content.getScrollSize().y-content.getSize().y &gt; 0){
	var slider = new Slider(scrollbar, handle, {	
		steps: 100,
		mode: (horizontal?&#039;horizontal&#039;:&#039;vertical&#039;),
		onChange: function(step){
			// Scrolls the content element in x or y direction.
      var x = (horizontal?(((content.getScrollSize().x-content.getSize().x)/100)*step):0);
      var y = (horizontal?0:(((content.getScrollSize().y-content.getSize().y)/100)*step));		
    	content.scrollTo(x,y);
			
		}
	}).set(0);
	if( !(ignoreMouse) ){
		// Scroll the content element when the mousewheel is used within the 
		// content or the scrollbar element.
		$$(content, scrollbar).addEvent(&#039;mousewheel&#039;, function(e){	
			e = new Event(e).stop();
			var step = slider.step - e.wheel * 2;	
			slider.set(step);					
		});
	}
	// Stops the handle dragging process when the mouse leaves the document body.
	$(document.body).addEvent(&#039;mouseleave&#039;,function(){slider.drag.stop()});
}else
scrollbar.fade(0);

}</description>
		<content:encoded><![CDATA[<p>I change the script a little bit more &#8230; now if there is nothing to scroll, the scollbar will fade out:</p>
<p>function makeScrollbar(content,scrollbar,handle,horizontal,ignoreMouse){<br />
if ( content.getScrollSize().y-content.getSize().y &gt; 0){<br />
	var slider = new Slider(scrollbar, handle, {<br />
		steps: 100,<br />
		mode: (horizontal?&#8217;horizontal&#8217;:'vertical&#8217;),<br />
		onChange: function(step){<br />
			// Scrolls the content element in x or y direction.<br />
      var x = (horizontal?(((content.getScrollSize().x-content.getSize().x)/100)*step):0);<br />
      var y = (horizontal?0:(((content.getScrollSize().y-content.getSize().y)/100)*step));<br />
    	content.scrollTo(x,y);</p>
<p>		}<br />
	}).set(0);<br />
	if( !(ignoreMouse) ){<br />
		// Scroll the content element when the mousewheel is used within the<br />
		// content or the scrollbar element.<br />
		$$(content, scrollbar).addEvent(&#8217;mousewheel&#8217;, function(e){<br />
			e = new Event(e).stop();<br />
			var step = slider.step &#8211; e.wheel * 2;<br />
			slider.set(step);<br />
		});<br />
	}<br />
	// Stops the handle dragging process when the mouse leaves the document body.<br />
	$(document.body).addEvent(&#8217;mouseleave&#8217;,function(){slider.drag.stop()});<br />
}else<br />
scrollbar.fade(0);</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benn</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-19369</link>
		<dc:creator>benn</dc:creator>
		<pubDate>Sun, 29 Jun 2008 03:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-19369</guid>
		<description>there is a small bug , when there is not enough chars to scroll  scipt end in error 

Error: slider.drag has no properties</description>
		<content:encoded><![CDATA[<p>there is a small bug , when there is not enough chars to scroll  scipt end in error </p>
<p>Error: slider.drag has no properties</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benn</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-19351</link>
		<dc:creator>benn</dc:creator>
		<pubDate>Sat, 28 Jun 2008 19:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-19351</guid>
		<description>the code is great but I am confused with 1.11 and  1.2b  , you only made a demo for 1.2b  and gave small instructions for 1.11 . any way to explain in detail how to get it to work with  1.11 . Reason why I am asking is the 1.11 is so spread by now that not everyone will start using 1.2b since there is versions issue as you know 

Thnx 
Best regards</description>
		<content:encoded><![CDATA[<p>the code is great but I am confused with 1.11 and  1.2b  , you only made a demo for 1.2b  and gave small instructions for 1.11 . any way to explain in detail how to get it to work with  1.11 . Reason why I am asking is the 1.11 is so spread by now that not everyone will start using 1.2b since there is versions issue as you know </p>
<p>Thnx<br />
Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-19302</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Fri, 27 Jun 2008 15:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-19302</guid>
		<description>hmm... looks like there is something going on with the form here... cant handle code properly so apostrophes change</description>
		<content:encoded><![CDATA[<p>hmm&#8230; looks like there is something going on with the form here&#8230; cant handle code properly so apostrophes change</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-19301</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Fri, 27 Jun 2008 15:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-19301</guid>
		<description>sorry... like this:

steps: 100, mode: (horizontal?’horizontal&#039;:&#039;vertical’),</description>
		<content:encoded><![CDATA[<p>sorry&#8230; like this:</p>
<p>steps: 100, mode: (horizontal?’horizontal&#8217;:'vertical’),</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-19300</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Fri, 27 Jun 2008 14:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-19300</guid>
		<description>I think I found an error. The letter after the second horizontal is a quotation mark:

steps: 100,
mode: (horizontal?’horizontal’:&#039;vertical’),

Shouldn&#039;t it be an apostrophe like this: 

steps: 100,
mode: (horizontal?’horizontal&#039;:&#039;vertical’),</description>
		<content:encoded><![CDATA[<p>I think I found an error. The letter after the second horizontal is a quotation mark:</p>
<p>steps: 100,<br />
mode: (horizontal?’horizontal’:&#8217;vertical’),</p>
<p>Shouldn&#8217;t it be an apostrophe like this: </p>
<p>steps: 100,<br />
mode: (horizontal?’horizontal&#8217;:'vertical’),</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Noormann</title>
		<link>http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/comment-page-1/#comment-18928</link>
		<dc:creator>Mark Noormann</dc:creator>
		<pubDate>Thu, 19 Jun 2008 09:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/#comment-18928</guid>
		<description>Works nice. but if the contentsize will change (fontsizer),it dosn´t scoll to the end so i change a little bit of the script:

function makeScrollbar(content,scrollbar,handle,horizontal,ignoreMouse){

	var slider = new Slider(scrollbar, handle, {	
		steps: 100,
		mode: (horizontal?&#039;horizontal&#039;:&#039;vertical&#039;),
		onChange: function(step){
			// Scrolls the content element in x or y direction.
      var x = (horizontal?(((content.getScrollSize().x-content.getSize().x)/100)*step):0);
      var y = (horizontal?0:(((content.getScrollSize().y-content.getSize().y)/100)*step));		
    	content.scrollTo(x,y);
			
		}
	}).set(0);
	if( !(ignoreMouse) ){
		// Scroll the content element when the mousewheel is used within the 
		// content or the scrollbar element.
		$$(content, scrollbar).addEvent(&#039;mousewheel&#039;, function(e){	
			e = new Event(e).stop();
			var step = slider.step - e.wheel * 10;	
			slider.set(step);					
		});
	}
	// Stops the handle dragging process when the mouse leaves the document body.
	$(document.body).addEvent(&#039;mouseleave&#039;,function(){slider.drag.stop()});
}



now you cann scoll to the really end. :-)</description>
		<content:encoded><![CDATA[<p>Works nice. but if the contentsize will change (fontsizer),it dosn´t scoll to the end so i change a little bit of the script:</p>
<p>function makeScrollbar(content,scrollbar,handle,horizontal,ignoreMouse){</p>
<p>	var slider = new Slider(scrollbar, handle, {<br />
		steps: 100,<br />
		mode: (horizontal?&#8217;horizontal&#8217;:'vertical&#8217;),<br />
		onChange: function(step){<br />
			// Scrolls the content element in x or y direction.<br />
      var x = (horizontal?(((content.getScrollSize().x-content.getSize().x)/100)*step):0);<br />
      var y = (horizontal?0:(((content.getScrollSize().y-content.getSize().y)/100)*step));<br />
    	content.scrollTo(x,y);</p>
<p>		}<br />
	}).set(0);<br />
	if( !(ignoreMouse) ){<br />
		// Scroll the content element when the mousewheel is used within the<br />
		// content or the scrollbar element.<br />
		$$(content, scrollbar).addEvent(&#8217;mousewheel&#8217;, function(e){<br />
			e = new Event(e).stop();<br />
			var step = slider.step &#8211; e.wheel * 10;<br />
			slider.set(step);<br />
		});<br />
	}<br />
	// Stops the handle dragging process when the mouse leaves the document body.<br />
	$(document.body).addEvent(&#8217;mouseleave&#8217;,function(){slider.drag.stop()});<br />
}</p>
<p>now you cann scoll to the really end. :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
