<?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 Design Dev &#187; Brian Cray Services</title>
	<atom:link href="http://www.webdesigndev.com/tag/brian-cray-services/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webdesigndev.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 16:30:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Create The Fanciest Dropdown Menu You Ever Saw</title>
		<link>http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw</link>
		<comments>http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw#comments</comments>
		<pubDate>Sun, 26 Jul 2009 22:27:13 +0000</pubDate>
		<dc:creator>Web Design</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Amazing Dropdown Menu Tutorial]]></category>
		<category><![CDATA[Brian Cray]]></category>
		<category><![CDATA[Brian Cray Dropdown Tutorial]]></category>
		<category><![CDATA[Brian Cray Services]]></category>
		<category><![CDATA[Brian Cray Tutorial]]></category>
		<category><![CDATA[Create A Beautiful Navigation Menu]]></category>
		<category><![CDATA[Create The Fanciest Dropdown Menu]]></category>
		<category><![CDATA[Dropdown Menu CSS]]></category>
		<category><![CDATA[Fancy Dropdown Menu]]></category>
		<category><![CDATA[HTML Dropdown Menu]]></category>
		<category><![CDATA[JQuery Dropdown Menu]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=1943</guid>
		<description><![CDATA[Brian Cray teaches you how to create this stunning website dropdown navigation menu. The dropdown menu uses HTML, CSS and Javascript. You can also include the hoverIntent JQuery plugin for extra juicy effects.]]></description>
			<content:encoded><![CDATA[<p>Good evening web designers. I hope you have all had a great weekend, and are ready to start the working week tomorrow. I have something very special to share with you today. Before I begin, I want to remind you of a free website builder called <a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com41" target="_blank">Wix</a>, using which you can <a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com41" target="_blank">create beautiful, professional websites</a>. Now let&#8217;s continue&#8230;back in June when I wrote the post <a href="http://www.webdesigndev.com/inspiration/21-beautiful-and-creative-navigation-menus" target="_blank">21 Beautiful And Creative Navigation Menus</a>, we had a comment from Brian Cray, in which he shared his menu with us. After speaking with Brian, he agreed to write a tutorial for us on how he created  his website navigation menu.</p>
<p>Recently he has changed his website design and the layout, but this tutorial is sweet, and one amazing navigation! Here is a bit about Brian&#8230;</p>
<blockquote><p><strong>About Brian&#8230;</strong><br />
Brian Cray writes a <a href="http://briancray.com/blog/" target="_blank">blog</a> that helps web 2.0 professionals build better websites. Among other things, he is known for his development of <a href="http://nearbytweets.com" target="_blank">Nearby Tweets</a> and <a href="http://pxtoem.com" target="_blank">PXtoEM.com</a>. Feel free to follow him on <a href="http://twitter.com/briancray" target="_blank">Twitter</a>.</p></blockquote>
<p>Be sure to check out some of the <a href="http://briancray.com/services/" target="_blank">services</a> that Brian provides, and if you have any questions for Brian feel free to drop in a comment and im sure he will reply.</p>
<h3>What will you be building?</h3>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.html" target="_blank">See the working demo</a></p>
<p><img class="alignnone size-full wp-image-1958" title="final" src="http://www.webdesigndev.com/wp-content/uploads/2009/07/final.jpg" alt="final" width="542" height="150" /></p>
<h6>Contents&#8230;</h6>
<ol>
<li><a href="#basicmenu">Making a basic dropdown menu that works</a>
<ol>
<li><a href="#basichtml">The basic HTML</a></li>
<li><a href="#basiccss">The basic CSS</a></li>
<li><a href="#basicjquery">The basic jQuery</a></li>
</ol>
</li>
<li><a href="#fancymenu">Making the basic menu look fancy</a>
<ol>
<li><a href="#fancyimages">The images</a></li>
<li><a href="#fancyhtml">The fancy HTML: What we&#8217;ve changed</a></li>
<li><a href="#fancycss">The fancy CSS: What we&#8217;ve added</a></li>
<li><a href="#fancyjquery">The fancy jQuery: What we&#8217;ve changed</a></li>
</ol>
</li>
<li><a href="#final">The final result with files</a></li>
</ol>
<p style="text-align: center;"><span style="color: #888888;">* * * * *</span></p>
<h6 id="basicmenu">1. Making a basic dropdown that works</h6>
<p>Before I begin &#8211; for those of you who want an easy way out of this tutorial, you can <a href="http://www.wix.com/start/freeflash/?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com10" target="_blank">create a free  flash website with Wix</a> that will look like a very professional website. Now for those who are still interested in going through with the tutorial, I will continue. Web designers and developers find themselves creating dropdown menus over and over. I&#8217;ve drilled dropdown menu production to a science. Seriously.<strong> Here&#8217;s the benefits of Brian Cray&#8217;s basic dropdown menu code:</strong></p>
<ul>
<li>Can be put anywhere on site in a matter of seconds</li>
<li>Forces no styling on the menu, but adapts to ANY styling</li>
<li>Can handle multiple dropdown levels gracefully</li>
<li>Covers variable-width tabs and dropdown menus</li>
<li>Semantic &#8211; only two classes needed on an otherwise plain UL</li>
</ul>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/productiondropdown.html" target="_blank">Here&#8217;s what the basic dropdown looks like</a></p>
<p>Let&#8217;s go over my dropdown menu code first as it provides the basis for the fanciest dropdown menu you ever saw.</p>
<h3 id="basichtml">The basic HTML</h3>
<p>You&#8217;ve seen this kind of thing a million times. But take notice of the two UL classes: tabs and dropdown.</p>
<p>[html]&lt;ul class=&#8221;tabs&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Dropdown 1&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 1&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Submenu item 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Submenu item 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Submenu item 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 2&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 3&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 4&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 5&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 6&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Dropdown 2&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 2&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 3&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 4&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 5&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 6&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Dropdown 3&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 2&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 3&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 4&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 5&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 6&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;[/html]</p>
<p>The tabs class makes the first UL a horizontal tab bar. The dropdown class makes the other UL dropdown menus. Simple, right?</p>
<h3 id="basiccss">The basic CSS</h3>
<p>This CSS sets <em>and</em> resets the necessary styles so you don&#8217;t have to worry about your menu inheriting a bunch of crap that will make the menu look unexpected.</p>
<p>[css]/* tabs<br />
*************************/</p>
<p>ul.tabs<br />
{<br />
display: table;<br />
margin: 0;<br />
padding: 0;<br />
list-style: none;<br />
position: relative;<br />
}</p>
<p>ul.tabs li<br />
{<br />
margin: 0;<br />
padding: 0;<br />
list-style: none;<br />
display: table-cell;<br />
float: left;<br />
position: relative;<br />
}</p>
<p>ul.tabs a<br />
{<br />
position: relative;<br />
display: block;<br />
}</p>
<p>/* dropdowns<br />
*************************/</p>
<p>ul.dropdown<br />
{<br />
margin: 0;<br />
padding: 0;<br />
display: block;<br />
position: absolute;<br />
z-index: 999;<br />
top: 100%;<br />
width: 250px;<br />
display: none;<br />
left: 0;<br />
}</p>
<p>ul.dropdown ul.dropdown<br />
{<br />
top: 0;<br />
left: 95%;<br />
}</p>
<p>ul.dropdown li<br />
{<br />
margin: 0;<br />
padding: 0;<br />
float: none;<br />
position: relative;<br />
list-style: none;<br />
display: block;<br />
}</p>
<p>ul.dropdown li a<br />
{<br />
display: block;<br />
}[/css]</p>
<h3 id="basicjquery">The basic jQuery</h3>
<p>The jQuery behind this is genius. It will pick up ANY dropdown class on the page and turn it into a working dropdown menu.</p>
<p>[js]$(function () {<br />
$(&#8216;.dropdown&#8217;).each(function () {<br />
$(this).parent().eq(0).hover(function () {<br />
$(&#8216;.dropdown:eq(0)&#8217;, this).show();<br />
}, function () {<br />
$(&#8216;.dropdown:eq(0)&#8217;, this).hide();<br />
});<br />
});<br />
});[/js]</p>
<p>And that&#8217;s all you need to add to each project to create dropdown menus in a flash! Now lets take this concept a step farther and REALLY light up the show.</p>
<h6 id="fancymenu">2. Making the basic menu look fancy</h6>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.html" target="_blank">Here&#8217;s what the fancy menu looks like</a> that we&#8217;ll create below</p>
<p>The first thing to do to make something fancy is to add colors and images.</p>
<h3 id="fancyimages">The images</h3>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdownimages.zip" target="_blank"><img class="alignnone size-full wp-image-1957" title="download" src="http://www.webdesigndev.com/wp-content/uploads/2009/07/download.jpg" alt="download" width="542" height="100" /></a></p>
<h3 id="fancyhtml">The fancy HTML: what we&#8217;ve changed</h3>
<ul>
<li>Wrapped everything in a #menu div</li>
<li>Added h4 elements to add another layer to the menu&#8217;s organization</li>
<li>Added a &#8220;hasmore&#8221; class to the menu items containing dropdown menus</li>
<li>Added a &#8220;last&#8221; class to the last menu item in dropdown menus</li>
<li>Added a <code>&lt;span&gt;</code> element around the main menu items</li>
</ul>
<p>[html]&lt;div id=&#8221;menu&#8221;&gt;<br />
&lt;ul class=&#8221;tabs&#8221;&gt;<br />
&lt;li&gt;&lt;h4&gt;&lt;a href=&#8221;#&#8221;&gt;In the blog »&lt;/a&gt;&lt;/h4&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;hasmore&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;&lt;span&gt;Recent&lt;/span&gt;&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 2&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 3&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 4&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 5&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;last&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;Menu item 6&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li class=&#8221;hasmore&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;&lt;span&gt;Topics&lt;/span&gt;&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Topic 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Topic 2&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Topic 3&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;last&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;Topic 4&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;&lt;span&gt;&lt;strong&gt;&lt;img src=&#8221;images/feed-icon-14&#215;14.png&#8221; width=&#8221;14&#8243; height=&#8221;14&#8243; alt=&#8221;RSS&#8221;&gt; Subscribe to RSS&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;h4&gt;&lt;a href=&#8221;#&#8221;&gt;Elsewhere »&lt;/a&gt;&lt;/h4&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;&lt;span&gt;About&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;hasmore&#8221;&gt;&lt;a href=&#8221;/about/#networks&#8221;&gt;&lt;span&gt;Networks&lt;/span&gt;&lt;/a&gt;<br />
&lt;ul class=&#8221;dropdown&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Twitter&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;posterous&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;SpeakerSite&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;LinkedIn&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;last&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;See more…&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;&lt;span&gt;Bookmarks&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;[/html]</p>
<h3 id="fancycss">The fancy CSS: what we&#8217;ve added</h3>
<ul>
<li>Added the <code>* {margin:0; padding:0}</code> simple reset hack (I know, there are better resets)</li>
<li>Styled to body</li>
<li>Removed underline from links</li>
<li>Styled the menu heavily</li>
</ul>
<p>[css]/* hack reset (for production, use Yahoo! reset CSS)<br />
*************************/</p>
<div id="in_post_ad_middle_1" style="margin: 5px;padding: 0px;"><a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&experiment_id=af_webdesigndev.com1middlepostnewLP" target="_blank" rel="nofollow">
<img src="http://www.webdesigndev.com/expressions_website3.gif" width="300" height="250" alt="create a free website" /></a></div><p>*<br />
{<br />
margin: 0;<br />
padding: 0;<br />
}</p>
<p>/* body<br />
*************************/</p>
<p>body<br />
{<br />
font: 14px/21px Georgia, serif;<br />
color: #370707;<br />
background: #e3d79b url(images/mainbg.jpg) left 40px repeat-x;<br />
}</p>
<p>/* links<br />
*************************/</p>
<p>a:link, a:visited, a:hover, a:active<br />
{<br />
text-decoration: none;<br />
}</p>
<p>/* inline elements<br />
*************************/</p>
<p>strong<br />
{<br />
font-weight: bold;<br />
}</p>
<p>/* menu-specifc<br />
*************************/</p>
<p>#menu<br />
{<br />
position: fixed;<br />
z-index: 5;<br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 40px;<br />
line-height: 40px;<br />
background: #ffb35a url(images/topbg.gif) repeat-x;<br />
border-bottom: 1px solid #000;<br />
}</p>
<p>#menu ul<br />
{<br />
margin: 0 auto;<br />
}</p>
<p>#menu ul li.hasmore<br />
{<br />
background: url(images/drophighlight.png) no-repeat center 27px;<br />
}</p>
<p>#menu ul li h4<br />
{<br />
margin: 0;<br />
}</p>
<p>#menu ul li h4 a<br />
{<br />
font-size: 14px;<br />
color: #000;<br />
font-weight: bold;<br />
padding: 0 15px;<br />
}</p>
<p>#menu ul li a<br />
{<br />
color: #9b2021;<br />
padding-left: 4px;<br />
}</p>
<p>#menu ul li a img<br />
{<br />
vertical-align: middle;<br />
}</p>
<p>#menu ul li a:hover<br />
{<br />
background: url(images/topselectionleft.png) top left no-repeat;<br />
}</p>
<p>#menu ul li a span<br />
{<br />
display: block;<br />
padding: 0 15px 0 11px;<br />
}</p>
<p>#menu ul li a:hover span<br />
{<br />
background: url(images/topselectionright.png) top right;<br />
}</p>
<p>#menu ul.dropdown<br />
{<br />
padding: 10px;<br />
background-image: url(images/dropdown.png);<br />
overflow:hidden;<br />
border-bottom: 1px solid #dc902f;<br />
width: 290px;<br />
}</p>
<p>#menu ul.dropdown li a<br />
{<br />
border-bottom: 1px solid #e5cd8e;<br />
line-height: 30px;<br />
overflow: hidden;<br />
height: 30px;<br />
}</p>
<p>#menu ul.dropdown li.last a<br />
{<br />
border-bottom-width: 0;<br />
}</p>
<p>#menu ul.dropdown li a:hover<br />
{<br />
background: url(images/menuarrow.png) no-repeat left center;<br />
}</p>
<p>#menu ul li h4 a:hover<br />
{<br />
background-image: none;<br />
}[/css]</p>
<h3 id="fancyjquery">The fancy jQuery: what we&#8217;ve changed</h3>
<ul>
<li>Used the <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" target="_blank">hoverIntent jQuery plugin</a> by Brian Cherne instead of jQuery&#8217;s default hover to prevent unintended dropdown menus</li>
<li>Used the <a href="http://gsgd.co.uk/sandbox/jquery/easing/" target="_blank">easing jQuery plugin</a> by GSGD to add a visual effect to dropdown menu items</li>
<li>Changed the default dropdown menu show() and hide() functions to slideDown() and fadeOut() to add some pizzazz (without being annoying)</li>
<li>Preloaded the images necessary to make the menu happen</li>
</ul>
<p>[js]$(function () {</p>
<p>$(&#8216;.dropdown&#8217;).each(function () {<br />
$(this).parent().eq(0).hoverIntent({<br />
timeout: 100,<br />
over: function () {<br />
var current = $(&#8216;.dropdown:eq(0)&#8217;, this);<br />
current.slideDown(100);<br />
},<br />
out: function () {<br />
var current = $(&#8216;.dropdown:eq(0)&#8217;, this);<br />
current.fadeOut(200);<br />
}<br />
});<br />
});</p>
<p>$(&#8216;.dropdown a&#8217;).hover(function () {<br />
$(this).stop(true).animate({paddingLeft: &#8217;35px&#8217;}, {speed: 100, easing: &#8216;easeOutBack&#8217;});<br />
}, function () {<br />
$(this).stop(true).animate({paddingLeft: &#8217;0&#8242;}, {speed: 100, easing: &#8216;easeOutBounce&#8217;});<br />
});</p>
<p>pic1 = new Image(310, 672);<br />
pic1.src = &#8220;images/dropdown.png&#8221;;</p>
<p>pic2 = new Image(4, 40);<br />
pic2.src = &#8220;images/dropselectionleft.png&#8221;;</p>
<p>pic3 = new Image(394, 40);<br />
pic3.src = &#8220;images/dropselectionright.png&#8221;;</p>
<p>});[/js]</p>
<h6>3. The final result with files</h6>
<p>Congratulations! You&#8217;ve walked through creating <a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.html" target="_blank">the fanciest menu ever</a>! By the way, if you feel frustrated with designing, or just want an easy way out, you can always <a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com41" target="_blank">create a free professional website with Wix</a>.</p>
<p>Here are the files this menu uses:</p>
<ul>
<li><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.js" target="_blank">fancydropdown.js</a> &#8211; combines jQuery, easing plugin, hoverIntent plugin, and fancy dropdown menu code</li>
<li><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.css" target="_blank">fancydropdown.css</a> &#8211; combines dropdown menu styling and fancy menu styling</li>
<li><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.html" target="_blank">fancydropdown.html</a> &#8211; the HTML of the fancy menu</li>
<li><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdownimages.zip" target="_blank">fancydropdownimages.zip</a> &#8211; all of the images used to create the fancy menu</li>
<li><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.zip" target="_blank">fancydropdown.zip</a> &#8211; all of the files used to create the fancy menu</li>
</ul>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw/feed</wfw:commentRss>
		<slash:comments>127</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: basic
Object Caching 413/491 objects using disk: basic

Served from: www.webdesigndev.com @ 2012-02-12 22:33:24 -->
