<?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; dropdown</title>
	<atom:link href="http://www.leigeber.com/tag/dropdown/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>JavaScript Dropdown Menu with Multi Levels</title>
		<link>http://www.leigeber.com/2008/11/drop-down-menu/</link>
		<comments>http://www.leigeber.com/2008/11/drop-down-menu/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 06:49:35 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=99</guid>
		<description><![CDATA[This multi-level drop down menu script weighs in at only 1.2 KB. It features animation, active header persistence and multiple instance support.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/11/multi-level-drop-down-menu.gif" alt="JavaScript Drop Down Menu" width="459" height="200"  /></p>
<p>This multi-level drop down menu script weighs in at only 1.2 KB. It features animation, active header persistence, easy implementation and multiple instance support.</p>
<p>To initialize a drop down menu use the following code:</p>
<pre class="brush: jscript;">var menu=new menu.dd('menu');
menu.init('menu','menuhover');</pre>
<p>You must create a new menu object before initialization. The parameter taken by menu.dd is the variable name used for the object. The object.init function takes 2 parameters: the id of the menu unordered list and the id of the initially sorted column (optional). If you want to exclude a column from sorting then add class=&#8221;nosort&#8221; to the appropriate table header. The styling of the table is totally customizable via CSS.</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/dropdown-menu/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://forum.leigeber.com/index.php?app=downloads&#038;showfile=7">Click here to download the source code.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/11/drop-down-menu/feed/</wfw:commentRss>
		<slash:comments>333</slash:comments>
		</item>
		<item>
		<title>Sliding JavaScript Dropdown Menu</title>
		<link>http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/</link>
		<comments>http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 02:40:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=30</guid>
		<description><![CDATA[This lightweight JavaScript drop down menu script allows you to easily add smooth transitioning dropdowns to your website. This can be used for navigation, dropdown lists, info panels, etc.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/04/dropdown_menu.gif" alt="JavaScript Dropdown Menu" width="459" height="225" /></p>
<p>This script has been replaced by a new with multi-level support <strong><a href="http://www.leigeber.com/2008/11/drop-down-menu/">here</a></strong>.</p>
<p>This lightweight JavaScript drop down menu script (~1.6kb) allows you to easily add smooth transitioning dropdowns to your website. This can be used for navigation, dropdown lists, info panels, etc. The script has been tested working in IE6, IE7, IE8, Firefox, Opera and Safari. The markup for the menu including the mouse events looks like the following.</p>
<pre class="brush: xml;">&lt;dl class=&quot;dropdown&quot;&gt;
&lt;dt id=&quot;one-ddheader&quot; onmouseover=&quot;ddMenu('one',1)&quot; onmouseout=&quot;ddMenu('one',-1)&quot;&gt;Dropdown One&lt;/dt&gt;
&lt;dd id=&quot;one-ddcontent&quot; onmouseover=&quot;cancelHide('one')&quot; onmouseout=&quot;ddMenu('one',-1)&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;underline&quot;&gt;Navigation Item 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;underline&quot;&gt;Navigation Item 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;underline&quot;&gt;Navigation Item 3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;underline&quot;&gt;Navigation Item 4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Navigation Item 5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dl&gt;</pre>
<p>You can have as many dropdowns on one page as you like. Just be sure and have a unique naming scheme for each menu (i.e. one-ddheader, two-ddheader, etc). The &#8220;look and feel&#8221; is fully customizable though the CSS and you can replace the unordered list with any content you like if you are not looking for a menu.</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/dropdown/dropdown.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href="http://www.leigeber.com/wp-content/uploads/2008/04/dropdown.zip">Click here to download the source.</a></strong></p>
<p><strong><a href="http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/">Click here for a vertical flyout version of this menu.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/dropdown3/dropdown.html">By Request: Slideup version demo.</a></strong></p>
<p><strong>Update 4/28/2008</strong> &#8211; I have updated the HTML and CSS to use a definition list and an unordered list in lieu of the previous div-based layout. Thanks to Paul and Deigo for the suggestion.<br />
<strong>Update 4/28/2008</strong> &#8211; Fixed flicker issue in FF2 on Mac and &#8220;-1&#8243; error in IE when quickly moving from the menu to the browser. Thanks to Philip and Chris for reporting these.<br />
<strong>Update 5/16/2008</strong> &#8211; Optimized the code reducing size by ~15%.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>195</slash:comments>
		</item>
	</channel>
</rss>
