<?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; navigation</title>
	<atom:link href="http://www.leigeber.com/tag/navigation/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>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>284</slash:comments>
		</item>
		<item>
		<title>Sliding JavaScript Menu Highlight 1kb</title>
		<link>http://www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/</link>
		<comments>http://www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 04:06:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=54</guid>
		<description><![CDATA[This sliding hover effect script is an easy method to add some flavor to your navigation.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://sandbox.leigeber.com/menueffect/index.html" width="459" height="35" scrolling="no" frameborder="0" name="menu_effect"></iframe></p>
<p><iframe src="http://sandbox.leigeber.com/menueffect/index2.html" width="459" height="35" scrolling="no" frameborder="0" name="menu_effect_2"></iframe></p>
<p>This sliding hover effect script is an easy method to add some flavor to your navigation. Using the CSS you can easily customize the navigation to fit your &#8220;look and feel&#8221;. The markup for the script is very simple as below.</p>
<pre class="brush: xml;">&lt;div class=&quot;menu&quot;&gt;
&lt;ul id=&quot;menu&quot;&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Graphic Design&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;HTML&lt;/a&gt;&lt;/li&gt;
&lt;li value=&quot;1&quot;&gt;&lt;a href=&quot;#&quot;&gt;User Interface&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;CSS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div id=&quot;slide&quot;&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p>In the above code the default menu selection is identified by the value=&#8221;1&#8243; attribute on the appropriate list item. To initialize the script simply call the function as below.</p>
<pre class="brush: jscript;">menuSlider.init('menu','slide')</pre>
<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://www.leigeber.com/wp-content/uploads/2008/05/menueffect.zip'>Click here to download the script.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/feed/</wfw:commentRss>
		<slash:comments>131</slash:comments>
		</item>
		<item>
		<title>Horizontal JavaScript Accordion 1kb</title>
		<link>http://www.leigeber.com/2008/05/horizontal-javascript-accordion-menu/</link>
		<comments>http://www.leigeber.com/2008/05/horizontal-javascript-accordion-menu/#comments</comments>
		<pubDate>Mon, 26 May 2008 01:05:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[accordion]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=52</guid>
		<description><![CDATA[This versatile 1kb horizontal JavaScript accordion script can be used for menus, images, presentation content and more.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://sandbox.leigeber.com/slidemenu/slidemenu.html" width="459" height="100" scrolling="no" frameborder="0" name="slide_menu"></iframe></p>
<p><iframe src="http://sandbox.leigeber.com/slidemenu2/slidemenu.html" width="459" height="100" scrolling="no" frameborder="0" name="slide_menu_2"></iframe></p>
<p>This versatile 1kb horizontal accordion script can be used for menus, images, presentation content and more.  I had seen a similar looking feature on the <a href="http://www.mootools.net">mootools</a> homepage and set out the replicate the functionality as a standalone script and as lightweight as possible. The script will automatically adjust to the number of elements in the accordion and the dimensions of the accordion.</p>
<p>The front-end markup for the script is a simple unordered list as in the example below&#8230;</p>
<pre class="brush: xml;">
&lt;ul&gt;
	&lt;li&gt;&lt;img src=&quot;images/1.gif&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
	&lt;li&gt;&lt;img src=&quot;images/2.gif&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
	&lt;li&gt;&lt;img src=&quot;images/3.gif&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
	&lt;li&gt;&lt;img src=&quot;images/4.gif&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>To build the accordion call the function below onload&#8230;</p>
<pre class="brush: jscript;">slideMenu.build('sm',200,10,10,1)</pre>
<p>The first parameter is the id of the unordered list you would like to bind the accordion to. The second is the width you would like the accordion selection to expand to. The third is the timeout variable to control how quickly the sliding function is called. The fourth is the speed of the accordion with 1 being the fastest. The last is optional and is the integer that corresponds to the section you would like to be expanded when the accordion is loaded.</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://www.leigeber.com/wp-content/uploads/2008/05/slidemenu.zip'>Click here to download the original script.</a></strong></p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/slidemenu2.zip'>Click here to download the script that collapses onmouseout.</a></strong></p>
<p><strong>Update 5/26/2008</strong> &#8211; Removed a line of unnecessary code and resolved an issue with IE6.<br />
<strong>Update 5/26/2008</strong> &#8211; Tweaked width parsing code, thanks to realazy for the suggestion.<br />
<strong>Update 6/05/2008</strong> &#8211; Added download for version that reverts back the the uniform collapsed positions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/horizontal-javascript-accordion-menu/feed/</wfw:commentRss>
		<slash:comments>277</slash:comments>
		</item>
		<item>
		<title>Vertical Flyout JavaScript Menu</title>
		<link>http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/</link>
		<comments>http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/#comments</comments>
		<pubDate>Sat, 17 May 2008 06:06:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=49</guid>
		<description><![CDATA[This animated JavaScript flyout menu is clean and lightweight at only 1.6kb.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/05/flyout.jpg" alt="Flyout Menu" width="459" height="200" /></p>
<p>This animated JavaScript flyout menu is clean and lightweight at only 1.6kb. The script is based on the <strong><a href="http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/">post a few weeks ago</a></strong> of a horizontal dropdown menu. The markup is the same so visit the horizontal menu post for details.</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/flyout/flyout.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/flyout.zip'>Click here to download the source.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/feed/</wfw:commentRss>
		<slash:comments>128</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>
