<?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; menu</title>
	<atom:link href="http://www.scriptiny.com/tag/menu/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>Thu, 08 Dec 2011 02:29:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>JavaScript Dropdown Menu</title>
		<link>http://www.scriptiny.com/2011/04/javascript-dropdown-menu/</link>
		<comments>http://www.scriptiny.com/2011/04/javascript-dropdown-menu/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 23:45:52 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.scriptiny.com/?p=419</guid>
		<description><![CDATA[This JavaScript dropdown menu script offers improved stability, speed, and features. Added features include animation toggles, a speed toggle, a rollout timeout, and improved style handling. ]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.scriptiny.com/wp-content/uploads/2011/04/tinydropdown.jpg" alt="JavaScript Dropdown Menu" width="592" height="225" /></p>
<p>This update to the TinyDropdown dropdown menu script offers improved stability, speed, and features. Added features include animation toggles, a speed toggle, a rollout timeout, and improved style handling. The script is still very lightweight at only 1.7KB packed and should perform noticeably better than the previous version. Styling is completely flexible through the CSS&#8230; you can even make this a vertical menu with a few tweaks.</p>
<p>The script is executed by passing an object to the init function. A sample call  would look like the following:</p>
<pre class="brush: jscript; title: ; notranslate">var dropdown=new TINY.dropdown.init(&quot;dropdown&quot;, {id:'menu', active:'menuhover', fade:true, slide:true, timeout:200});</pre>
<p>Parameters include (tag &#8211; description (type) &#8211; default):</p>
<pre class="brush: jscript; title: ; notranslate">id - ID of the navigation (string - required) - ''
active - CSS class for active state (string) - ''
fade - toggle fade tween (bool) - true
slide - toggle slide tween (bool) - true
speed- toggle slide tween (1-9) - 5
timeout - time in milliseconds to pause before hide on rollout (int) - 200</pre>
<h3><strong><a href="http://sandbox.scriptiny.com/tinydropdown2/">Click here</a></strong> for the demo.</h3>
<h3><strong><a href="http://forum.leigeber.com/index.php?app=downloads&amp;module=display&amp;section=download&amp;do=confirm_download&amp;id=15">Click here</a></strong> to download.</h3>
<p>This script is tested in IE7+, FF, Chrome, Opera, and Safari 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>. I welcome any bug reports. Head to the <a href="http://www.scriptiny.com/qa/">Scriptiny QA</a> for community support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptiny.com/2011/04/javascript-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>141</slash:comments>
		</item>
		<item>
		<title>JavaScript Dropdown Menu with Multi Levels</title>
		<link>http://www.scriptiny.com/2008/11/drop-down-menu/</link>
		<comments>http://www.scriptiny.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.scriptiny.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.scriptiny.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; title: ; notranslate">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://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>
<h3><strong><a href="http://www.scriptiny.com/2011/04/javascript-dropdown-menu/">Click here</a></strong> for the most recent version.</h3>
<h3><strong><a href="http://sandbox.scriptiny.com/dropdown-menu/">Click here</a></strong> for the demo.</h3>
<h3><strong><a href="http://forum.leigeber.com/index.php?app=downloads&amp;module=display&amp;section=download&amp;do=confirm_download&amp;id=7">Click here</a></strong> to download.</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptiny.com/2008/11/drop-down-menu/feed/</wfw:commentRss>
		<slash:comments>363</slash:comments>
		</item>
		<item>
		<title>Sliding JavaScript Menu Highlight 1kb</title>
		<link>http://www.scriptiny.com/2008/05/sliding-javascript-menu-highlight-1kb/</link>
		<comments>http://www.scriptiny.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.scriptiny.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.scriptiny.com/menueffect/index.html" width="459" height="35" scrolling="no" frameborder="0" name="menu_effect"></iframe></p>
<p><iframe src="http://sandbox.scriptiny.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; title: ; notranslate">&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; title: ; notranslate">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://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://www.scriptiny.com/wp-content/uploads/2008/05/menueffect.zip'>Click here to download the script.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptiny.com/2008/05/sliding-javascript-menu-highlight-1kb/feed/</wfw:commentRss>
		<slash:comments>172</slash:comments>
		</item>
		<item>
		<title>Horizontal JavaScript Accordion 1kb</title>
		<link>http://www.scriptiny.com/2008/05/horizontal-javascript-accordion-menu/</link>
		<comments>http://www.scriptiny.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.scriptiny.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.scriptiny.com/slidemenu/slidemenu.html" width="459" height="100" scrolling="no" frameborder="0" name="slide_menu"></iframe></p>
<p><iframe src="http://sandbox.scriptiny.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; title: ; notranslate">
&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; title: ; notranslate">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://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://www.scriptiny.com/wp-content/uploads/2008/05/slidemenu.zip'>Click here to download the original script.</a></strong></p>
<p><strong><a href='http://www.scriptiny.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.scriptiny.com/2008/05/horizontal-javascript-accordion-menu/feed/</wfw:commentRss>
		<slash:comments>345</slash:comments>
		</item>
		<item>
		<title>Vertical Flyout JavaScript Menu</title>
		<link>http://www.scriptiny.com/2008/05/vertical-flyout-javascript-menu/</link>
		<comments>http://www.scriptiny.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.scriptiny.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.scriptiny.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.scriptiny.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://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/flyout/flyout.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href='http://www.scriptiny.com/wp-content/uploads/2008/05/flyout.zip'>Click here to download the source.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptiny.com/2008/05/vertical-flyout-javascript-menu/feed/</wfw:commentRss>
		<slash:comments>141</slash:comments>
		</item>
		<item>
		<title>Sliding JavaScript Dropdown Menu</title>
		<link>http://www.scriptiny.com/2008/04/sliding-javascript-dropdown-menu/</link>
		<comments>http://www.scriptiny.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.scriptiny.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.scriptiny.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.scriptiny.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; title: ; notranslate">&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://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/dropdown/dropdown.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href="http://www.scriptiny.com/wp-content/uploads/2008/04/dropdown.zip">Click here to download the source.</a></strong></p>
<p><strong><a href="http://www.scriptiny.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.scriptiny.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.scriptiny.com/2008/04/sliding-javascript-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>195</slash:comments>
		</item>
	</channel>
</rss>

