<?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; sliding</title>
	<atom:link href="http://www.scriptiny.com/tag/sliding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptiny.com</link>
	<description>This web development blog features fresh articles on JavaScript, AJAX, CSS, XHTML, PHP, Photoshop and more.</description>
	<lastBuildDate>Fri, 10 Feb 2012 19:53:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Animated JavaScript Accordion V2</title>
		<link>http://www.scriptiny.com/2008/10/animated-javascript-accordion/</link>
		<comments>http://www.scriptiny.com/2008/10/animated-javascript-accordion/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 17:14:23 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[accordion]]></category>
		<category><![CDATA[expanding]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[sliding]]></category>

		<guid isPermaLink="false">http://www.scriptiny.com/?p=58</guid>
		<description><![CDATA[This animated JavaScript accordion script is lightweight (1.16 KB), fast, supports multiple instances and includes an active header class toggle.]]></description>
			<content:encoded><![CDATA[<p><img title="Animated JavaScript Accordion" src="http://www.scriptiny.com/wp-content/uploads/2008/10/accordion.gif" alt="" width="459" height="173" /></p>
<p>A new version of this script is <a href="http://www.scriptiny.com/2009/03/accordion/"><strong>available here</strong></a>.</p>
<p>This lightweight (1.16 KB) animated JavaScript accordion is an update to the <a href="http://www.scriptiny.com/2008/04/lightweight-javascript-and-css-accordion/">original accordion script</a> posted on April 18th. It is now smaller, faster, supports multiple instances and includes an active header class toggle. The markup is also improved through the use of definition lists and the CSS has been simplified as well.</p>
<p>To initialize an accordion use the following code:</p>
<pre class="brush: jscript; title: ; notranslate">var mySlider=new accordion.slider('mySlider');
mySlider.init('slider',0,'open');</pre>
<p>You must create a new accordion object before initialization. The parameter taken by accordion.slider is the variable name used for the object. The object.init function takes 3 parameters: the id of the &#8220;dl&#8221;, the index of the initially expanded section (optional) and the class for the active header (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://www.scriptiny.com/qa/">available here</a>. Paid support is also available, <a href="http://www.scriptiny.com/contact/">contact me</a> for details.</p>
<p><strong><a href="http://sandbox.scriptiny.com/accordion/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.scriptiny.com/accordion/accordion.zip">Click here to download the source code.</a></strong></p>
<p><strong>Update 11/24/2008</strong> &#8211; Updated logic to allow hover state when no sections are initially expanded. Consolidated some code to drop the weight by 15%.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptiny.com/2008/10/animated-javascript-accordion/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
	</channel>
</rss>

