<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - flashpro</title>
<link>http://snipplr.com/users/flashpro</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 10:37:30 GMT</pubDate>
<item>
<title>(JavaScript) YUI maximum length for textarea (with counter)</title>
<link>http://snipplr.com/view/10268/yui-maximum-length-for-textarea-with-counter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 04 Dec 2008 15:53:49 GMT</pubDate>
<guid>http://snipplr.com/view/10268/yui-maximum-length-for-textarea-with-counter/</guid>
</item>
<item>
<title>(JavaScript) YUI newsticker</title>
<link>http://snipplr.com/view/9855/yui-newsticker/</link>
<description><![CDATA[ <p>class "newsTicker" is required

span is optional</p> ]]></description>
<pubDate>Mon, 17 Nov 2008 07:56:08 GMT</pubDate>
<guid>http://snipplr.com/view/9855/yui-newsticker/</guid>
</item>
<item>
<title>(JavaScript) accordion with YUI javascript library</title>
<link>http://snipplr.com/view/5233/accordion-with-yui-javascript-library/</link>
<description><![CDATA[ <p>For this snippet you need the files: yahoo-dom-event.js and animation-min.js from the Yahoo User Interface Library (version 2.4.1).

Code
To use this snippet add a class "accordion" to a defenition list.
The "DT" will be converted to the clickable headers. The "DD" will be used for the accordion item content. Add a class "open" to an "DD" element which should be open on startup.

Call the main function by putting the code below in a initPage function:

YAHOO.lutsr.accordion.init(true,10,true);

The first parameter sets the animation on/off (default = true), the second represents the ammount of frames the animation should take (default = 10), the last defines if there could be more than one item open at once (default = true).</p> ]]></description>
<pubDate>Thu, 28 Feb 2008 07:17:04 GMT</pubDate>
<guid>http://snipplr.com/view/5233/accordion-with-yui-javascript-library/</guid>
</item>
<item>
<title>(JavaScript) toggle / showhide with YUI javascript library</title>
<link>http://snipplr.com/view/4552/toggle--showhide-with-yui-javascript-library/</link>
<description><![CDATA[ <p>For this snippet you need the files: yahoo-dom-event.js and animation-min.js from the Yahoo User Interface Library (version 2.4.1).

To use this snippet add a class "toggle" to a link which should toggle the effect. To this link add a rel attribute. This attribute contains: id of object to toggle, animation type, animation duration.

Toggle element #1

This will toggle the div with id "example1", the effect used will be "fade" and it will take "20" frames.</p> ]]></description>
<pubDate>Mon, 14 Jan 2008 02:49:09 GMT</pubDate>
<guid>http://snipplr.com/view/4552/toggle--showhide-with-yui-javascript-library/</guid>
</item>
</channel>
</rss>
