<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Development Blog &#187; scroller</title>
	<atom:link href="http://www.leigeber.com/tag/scroller/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leigeber.com</link>
	<description>This web development blog features fresh articles on JavaScript, AJAX, CSS, XHTML, PHP, Photoshop and more.</description>
	<lastBuildDate>Sat, 13 Feb 2010 02:05:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>TinyScroller JavaScript Scrollable Div &#8211; 1.7KB</title>
		<link>http://www.leigeber.com/2009/09/javascript-scrollable-div/</link>
		<comments>http://www.leigeber.com/2009/09/javascript-scrollable-div/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 03:14:20 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrollbar]]></category>
		<category><![CDATA[scroller]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=215</guid>
		<description><![CDATA[TinyScroller is a basic scrollable div script at only 1.7KB. It can be used with any HTML and degrades gracefully. The styling is completely customizable through the simple CSS.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2009/09/scroller.gif" alt="Scrollable Div" width="592" height="325" /></p>
<p>TinyScroller is a basic scrollable div script at only 1.7KB. It can be used with any HTML and degrades gracefully. The styling is completely customizable through the simple CSS. More features will be coming soon. I have redesigned leigeber.com and am going to be publishing a number of scripts and articles shortly. I will also be releasing my previous blog theme for free. A few of the upcoming scripts:</p>
<ul>
<li>TinySlideshow V3 &#8211; many new features and fixes</li>
<li>TinyTable V3 &#8211; advanced search and filtering capabilities</li>
<li>TinySlider &#8211; sliding content script</li>
<li>TinyDrag &#8211; draggable box script</li>
<li>TinyBox V2 &#8211; many new features</li>
<li>TinyValidator &#8211; completely rewritten form validation</li>
<li>TinyTooltip &#8211; slick and full featured tooltip script</li>
<li>TinyEditor &#8211; lightweight JavaScript WYSIWYG editor</li>
<li>Bug fixes to all other existing scripts.</li>
</ul>
<p>To initialize a scrollable div use the following code:</p>
<pre class="brush: jscript;">TINY.scroller.init('scroll','content','scrollbar','scroller','active')</pre>
<p>The TINY.scroller.init function takes 5 parameters: the id of the parent content wrapper, the id of the content div, the id of the scroll div, the id of the scroll button, and the class of the scroll button active state (optional).</p>
<p>This script has been tested in all major browsers and is available free of charge for both personal or commercial projects under the <a href="http://creativecommons.org/licenses/by/3.0/us/" target="_blank">creative commons license</a>. Community support is <a href="http://forum.leigeber.com/">available here</a>. Paid support is also available, <a href="http://www.leigeber.com/contact/">contact me</a> for details.</p>
<p><strong><a href="http://sandbox.leigeber.com/scroller/">Click here to view the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/scroller/TinyScroller.zip">Click here to download the script.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2009/09/javascript-scrollable-div/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Ultimate JavaScript Slider and Scroller</title>
		<link>http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/</link>
		<comments>http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/#comments</comments>
		<pubDate>Wed, 07 May 2008 03:34:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[scroller]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=38</guid>
		<description><![CDATA[This versatile JavaScript slider and scroller script makes it easy to scroll text blocks, create slideshows, slide between content blocks, create tickers and more.]]></description>
			<content:encoded><![CDATA[<p>This versatile and lightweight JavaScript clocks in at less than 3.5kb unpacked. The above example is one of four scenarios I have demonstrated on the <a href="http://sandbox.leigeber.com/contentslider/slider.html" target="_blank">demo page</a>.</p>
<p>To setup a scroll/slide area create a container with the following CSS properties&#8230;</p>
<pre class="brush: css;">position:relative; overflow:hidden; height:XXXpx;</pre>
<p>Inside the scroll area container create another div that will house your actual content. It needs the positioned absolutely within the previous div. Each sliding or scrolling area on the page needs to have a unique ID for this div.</p>
<pre class="brush: css;">position:absolute;</pre>
<p>Inside the content div you can need to create a section for each area of content, be it 1 or 50. For each section after the &#8220;prefix-&#8221; numerate the order from 1 onwards. The prefix (ie section, newssection, imgsection, etc) needs to be unique to the current sliding/scrolling container&#8217;s sections.</p>
<pre class="brush: xml;">&lt;div id=&quot;section-1&quot; class=&quot;section&quot;&gt;&lt;/div&gt;</pre>
<p>You can call functions to incrementally scroll up or down, scroll to a particular section and initiate autoscroll/cancel the autoscroll. Take a look at the source code for examples. You might also consider dynamically adding some currently static CSS properties such as overflow:hidden and the height to allow for better degradation without JavaScript support.</p>
<p>This script has been tested in all major browsers and is available free of charge for both personal or commercial projects under the <a href="http://creativecommons.org/licenses/by/3.0/us/" target="_blank">creative commons license</a>. Community support is <a href="http://forum.leigeber.com/">available here</a>. Paid support is also available, <a href="http://www.leigeber.com/contact/">contact me</a> for details.</p>
<p><strong><a href="http://sandbox.leigeber.com/contentslider/slider.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href="http://www.leigeber.com/wp-content/uploads/2008/05/contentslider.zip">Click here to download the source.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>
