<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Attempting White House style navigation using jQuery and Superfish</title>
	<atom:link href="http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/feed/" rel="self" type="application/rss+xml" />
	<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=white-house-style-navigation-using-jquery-and-superfish</link>
	<description>Adding a dash of &#34;geek&#34; to help non-profits and small businesses reach their goals</description>
	<lastBuildDate>Sat, 24 Mar 2012 11:49:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Good</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-13123</link>
		<dc:creator>Good</dc:creator>
		<pubDate>Fri, 09 Mar 2012 22:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-13123</guid>
		<description>hi, good tutorial, Im updating the styling and look of my menu and this was helpful!

You might want to check out your site here: 

http://nwfco.org/

There are some little  things you might want to check into on the front page not quite right (Im on firefox).

Thanks</description>
		<content:encoded><![CDATA[<p>hi, good tutorial, Im updating the styling and look of my menu and this was helpful!</p>
<p>You might want to check out your site here: </p>
<p><a href="http://nwfco.org/" rel="nofollow">http://nwfco.org/</a></p>
<p>There are some little  things you might want to check into on the front page not quite right (Im on firefox).</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-12836</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 20 Feb 2012 16:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-12836</guid>
		<description>That&#039;s a great article!  I have bookmarked it for future reference.  I&#039;m playing around with Mojo Portal.  It&#039;s a .Net based CMS with support for superfish.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great article!  I have bookmarked it for future reference.  I&#8217;m playing around with Mojo Portal.  It&#8217;s a .Net based CMS with support for superfish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dposorio</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-11952</link>
		<dc:creator>Dposorio</dc:creator>
		<pubDate>Tue, 10 Jan 2012 02:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-11952</guid>
		<description>Thanks for the feedback Francis!</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback Francis!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-11827</link>
		<dc:creator>Francis</dc:creator>
		<pubDate>Fri, 06 Jan 2012 04:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-11827</guid>
		<description>Ahh just what I need.  I&#039;ve been looking for an easy tutorial on how to mimic whitehouse.gov&#039;s top navigation menu.  

After completing a website from a client project, they wanted more and saw whitehouse.gov.  Oh well, clients are the lifeblood in business so I&#039;m excited to try this out!

Will let you know and link your site to my site.  Thanks for sharing Dposorio!</description>
		<content:encoded><![CDATA[<p>Ahh just what I need.  I&#8217;ve been looking for an easy tutorial on how to mimic whitehouse.gov&#8217;s top navigation menu.  </p>
<p>After completing a website from a client project, they wanted more and saw whitehouse.gov.  Oh well, clients are the lifeblood in business so I&#8217;m excited to try this out!</p>
<p>Will let you know and link your site to my site.  Thanks for sharing Dposorio!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dposorio</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-10975</link>
		<dc:creator>Dposorio</dc:creator>
		<pubDate>Wed, 07 Dec 2011 04:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-10975</guid>
		<description>Hi Kristen,

Adding the 3rd level menu item shouldn&#039;t be so bad. It would all be specified in the style sheet.

-- You would not comment anything out  before line # 9  as shown after example 2 in the post.
-- You would still apply &quot;background: none;&quot; as shown after example 3.
-- You&#039;d just make sure that any left padding or left margin applied on 3rd ul was in line with its parent ul.
-- And you&#039;d set the &quot;font weight: bold&quot; on the 2rd, but not the 3th ul.</description>
		<content:encoded><![CDATA[<p>Hi Kristen,</p>
<p>Adding the 3rd level menu item shouldn&#8217;t be so bad. It would all be specified in the style sheet.</p>
<p>&#8211; You would not comment anything out  before line # 9  as shown after example 2 in the post.<br />
&#8211; You would still apply &#8220;background: none;&#8221; as shown after example 3.<br />
&#8211; You&#8217;d just make sure that any left padding or left margin applied on 3rd ul was in line with its parent ul.<br />
&#8211; And you&#8217;d set the &#8220;font weight: bold&#8221; on the 2rd, but not the 3th ul.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristen</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-10962</link>
		<dc:creator>Kristen</dc:creator>
		<pubDate>Tue, 06 Dec 2011 15:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-10962</guid>
		<description>In your example you hid the 3rd and 4th level menus, but what if I want them to display as they do on whitehouse.gov (where the 2nd and 3rd level items appear in the same dropdown menu; the 2nd level items are bolded whereas the 3rd level items are not)?</description>
		<content:encoded><![CDATA[<p>In your example you hid the 3rd and 4th level menus, but what if I want them to display as they do on whitehouse.gov (where the 2nd and 3rd level items appear in the same dropdown menu; the 2nd level items are bolded whereas the 3rd level items are not)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Istemci</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-5692</link>
		<dc:creator>Istemci</dc:creator>
		<pubDate>Mon, 10 Jan 2011 16:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-5692</guid>
		<description>I think, there is no need to use Superfish and Superfish&#039;s complex CSS for to create a menu like whitehouse.gov. It can be done easily with using couple of JQuery code and simple CSS. An that simple JQuery code can solve the align of right items problem itself. Tested on Opera, Firefox, Chrome and IE8. Check this out.

&lt;code&gt;
 
 


#main-menu, #main-menu * {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: Georgia;
}
#main-menu {
	background-color: #185087;
	width: 100%;
	float: left;
	font-size: 12px;
}
#main-menu li {
	border: none;
	display: block;
	float: left;
}
#main-menu a {
	color: #eee;
	text-decoration: none;
	padding: 7px 39px;
	display: block;
	font-weight: bold;
}
#main-menu li.hover a {
	background-color: #fff;
	color: #185087;
	border-top: 3px solid #bd1e12;
	padding-top: 4px;
}
#main-menu ul {
	width: 500px;
	display: none;
	position: absolute;
	z-index: 10;
	border-bottom: 3px solid #bd1e12;
	background-color: #fff;
	padding: 5px 0;
}
#main-menu li.hover ul li {
	width: 250px;
}
#main-menu li.hover ul a {
	color: #185087;
	border: none;
	font-weight: normal;
	text-decoration: none;
}
#main-menu li.hover ul a:hover {
	text-decoration: underline;
}





	
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;BLOG&lt;/a&gt;
	
	
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;PHOTOS &amp; VIDEOS&lt;/a&gt;
		
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Photo Galleries&lt;/a&gt;
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Live Streams&lt;/a&gt;
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Video&lt;/a&gt;
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Podcasts&lt;/a&gt;
		
	
	
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;BRIEFING ROOM&lt;/a&gt;
		
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Photo Galleries&lt;/a&gt;
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Live Streams&lt;/a&gt;
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Video&lt;/a&gt;
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Podcasts&lt;/a&gt;
		
	




$(document).ready(function(){
	var menu_item_length	= $(&#039;#main-menu&gt;li&#039;).length;
	$(&#039;#main-menu&gt;li&#039;).each(function(i) {
		if (i&gt;(menu_item_length/2))
			$(this).find(&#039;ul&#039;).css(&#039;margin-left&#039;, $(this).width()-$(this).find(&#039;ul&#039;).width());
	});
	$(&#039;#main-menu&gt;li&#039;).hover(
		function() {
			$(this).addClass(&#039;hover&#039;);
			$(this).find(&#039;ul&#039;).css(&#039;display&#039;, &#039;block&#039;);
		},
		function() {
			$(this).removeClass(&#039;hover&#039;);
			$(this).find(&#039;ul&#039;).css(&#039;display&#039;, &#039;none&#039;);
		}
	);
});



&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I think, there is no need to use Superfish and Superfish&#8217;s complex CSS for to create a menu like whitehouse.gov. It can be done easily with using couple of JQuery code and simple CSS. An that simple JQuery code can solve the align of right items problem itself. Tested on Opera, Firefox, Chrome and IE8. Check this out.</p>
<p><code></p>
<p>#main-menu, #main-menu * {<br />
	margin: 0;<br />
	padding: 0;<br />
	list-style-type: none;<br />
	font-family: Georgia;<br />
}<br />
#main-menu {<br />
	background-color: #185087;<br />
	width: 100%;<br />
	float: left;<br />
	font-size: 12px;<br />
}<br />
#main-menu li {<br />
	border: none;<br />
	display: block;<br />
	float: left;<br />
}<br />
#main-menu a {<br />
	color: #eee;<br />
	text-decoration: none;<br />
	padding: 7px 39px;<br />
	display: block;<br />
	font-weight: bold;<br />
}<br />
#main-menu li.hover a {<br />
	background-color: #fff;<br />
	color: #185087;<br />
	border-top: 3px solid #bd1e12;<br />
	padding-top: 4px;<br />
}<br />
#main-menu ul {<br />
	width: 500px;<br />
	display: none;<br />
	position: absolute;<br />
	z-index: 10;<br />
	border-bottom: 3px solid #bd1e12;<br />
	background-color: #fff;<br />
	padding: 5px 0;<br />
}<br />
#main-menu li.hover ul li {<br />
	width: 250px;<br />
}<br />
#main-menu li.hover ul a {<br />
	color: #185087;<br />
	border: none;<br />
	font-weight: normal;<br />
	text-decoration: none;<br />
}<br />
#main-menu li.hover ul a:hover {<br />
	text-decoration: underline;<br />
}</p>
<p>		<a href="#" rel="nofollow">BLOG</a></p>
<p>		<a href="#" rel="nofollow">PHOTOS &amp; VIDEOS</a></p>
<p>			<a href="#" rel="nofollow">Photo Galleries</a><br />
			<a href="#" rel="nofollow">Live Streams</a><br />
			<a href="#" rel="nofollow">Video</a><br />
			<a href="#" rel="nofollow">Podcasts</a></p>
<p>		<a href="#" rel="nofollow">BRIEFING ROOM</a></p>
<p>			<a href="#" rel="nofollow">Photo Galleries</a><br />
			<a href="#" rel="nofollow">Live Streams</a><br />
			<a href="#" rel="nofollow">Video</a><br />
			<a href="#" rel="nofollow">Podcasts</a></p>
<p>$(document).ready(function(){<br />
	var menu_item_length	= $('#main-menu&gt;li').length;<br />
	$('#main-menu&gt;li').each(function(i) {<br />
		if (i&gt;(menu_item_length/2))<br />
			$(this).find('ul').css('margin-left', $(this).width()-$(this).find('ul').width());<br />
	});<br />
	$('#main-menu&gt;li').hover(<br />
		function() {<br />
			$(this).addClass('hover');<br />
			$(this).find('ul').css('display', 'block');<br />
		},<br />
		function() {<br />
			$(this).removeClass('hover');<br />
			$(this).find('ul').css('display', 'none');<br />
		}<br />
	);<br />
});</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dposorio</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-2925</link>
		<dc:creator>Dposorio</dc:creator>
		<pubDate>Thu, 03 Jun 2010 05:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-2925</guid>
		<description>No, I haven&#039;t come across Supposition before. I wish I had played with it from the start. Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>No, I haven&#8217;t come across Supposition before. I wish I had played with it from the start. Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-2924</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Thu, 03 Jun 2010 04:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-2924</guid>
		<description>I use a CMS that also assigns unique IDs to everything but doesn&#039;t publish those ID&#039;s on the frontend so it does make your solution difficult to implement using that CMS.

Not sure if you&#039;ve already seen this...

http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test/index.html

... but it looks like work on it has stalled since 2008.</description>
		<content:encoded><![CDATA[<p>I use a CMS that also assigns unique IDs to everything but doesn&#8217;t publish those ID&#8217;s on the frontend so it does make your solution difficult to implement using that CMS.</p>
<p>Not sure if you&#8217;ve already seen this&#8230;</p>
<p><a href="http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test/index.html" rel="nofollow">http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test/index.html</a></p>
<p>&#8230; but it looks like work on it has stalled since 2008.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dposorio</title>
		<link>http://dposorio.com/wordpress/269/white-house-style-navigation-using-jquery-and-superfish/comment-page-1/#comment-2923</link>
		<dc:creator>Dposorio</dc:creator>
		<pubDate>Thu, 03 Jun 2010 01:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://dposorio.com/wordpress/?p=269#comment-2923</guid>
		<description>Hey Pete - yes, of course, I&#039;ll post a better solution if I find it. And, thanks for the feedback. I&#039;m currently working this into a custom WordPress theme. Luckily, WP assigns unique IDs to everything, including top-level menu items. This makes implementing this somewhat awkward solution easier.</description>
		<content:encoded><![CDATA[<p>Hey Pete &#8211; yes, of course, I&#8217;ll post a better solution if I find it. And, thanks for the feedback. I&#8217;m currently working this into a custom WordPress theme. Luckily, WP assigns unique IDs to everything, including top-level menu items. This makes implementing this somewhat awkward solution easier.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

