<?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>WpFunc &#187; magazin style</title>
	<atom:link href="http://www.wpfunc.com/tag/magazin-style/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Fri, 09 Jul 2010 09:05:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to make a magazin style wordpress dropdown menu?</title>
		<link>http://www.wpfunc.com/wordpress/how-to-make-a-magazin-style-wordpress-dropdown-menu.html</link>
		<comments>http://www.wpfunc.com/wordpress/how-to-make-a-magazin-style-wordpress-dropdown-menu.html#comments</comments>
		<pubDate>Fri, 25 Sep 2009 09:02:49 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[dropdown menu]]></category>
		<category><![CDATA[header.php]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[magazin style]]></category>
		<category><![CDATA[style.css]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=220</guid>
		<description><![CDATA[This think and coding coming from Jean-Baptiste Jung. When i read his Ubuntu Theme Colletction  article for choose my new Ubuntu theme i saw an article title Magazin Style Dropdown menu and i clicked that link. I think you can make this easily. Smells good!
1st. Step: Changing Header.php;
Just add this code to your theme&#8217;s header.php. You [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/build-a-top-sliding-login-panel.html' rel='bookmark' title='Permanent Link: Build a Top Sliding Login Panel'>Build a Top Sliding Login Panel</a></li>
<li><a href='http://www.wpfunc.com/wordpress/wordpress-3-0-out.html' rel='bookmark' title='Permanent Link: WordPress 3.0 Out!'>WordPress 3.0 Out!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/how-to-add-numbers-into-comments.html' rel='bookmark' title='Permanent Link: How to Add Numbers Into Comments'>How to Add Numbers Into Comments</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This think and coding coming from Jean-Baptiste Jung. When i read his Ubuntu Theme Colletction  article for choose my new Ubuntu theme i saw an article title Magazin Style Dropdown menu and i clicked that link. I think you can make this easily. Smells good!<span id="more-220"></span></p>
<h3 style="text-align: justify;">1st. Step: Changing Header.php;</h3>
<p style="text-align: justify;">Just add this code to your <strong><span style="color: #ff0000;">theme&#8217;s header.php</span></strong>. You can show your categories/sub-categories or pages/sub-pages.</p>
<pre class="brush: plain;">&lt;ul id=&quot;nav2&quot; class=&quot;clearfloat&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/&quot; class=&quot;on&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
 	&lt;?php wp_list_categories('orderby=name&amp;exlude=181&amp;title_li=');
 	$this_category = get_category($cat);
 	if (get_category_children($this_category-&gt;cat_ID) != &quot;&quot;) {
 		echo &quot;&lt;ul&gt;&quot;;
wp_list_categories('orderby=id&amp;show_count=0&amp;title_li=&amp;use_desc_for_title=1&amp;child_of='.$this_category-&gt;cat_ID);
 		echo &quot;&lt;/ul&gt;&quot;;
 	}
?&gt;
&lt;/ul&gt;
</pre>
<h3 style="text-align: justify;">2nd. Step: The CSS;</h3>
<p style="text-align: justify;">You will change your <strong><span style="color: #ff0000;">theme&#8217;s style.css</span> </strong>file for this menu&#8217;s style. Just copy this codes below.</p>
<pre class="brush: css;">#nav2{
        background-color: #202020;
        display: block;
        font-size:1.1em;
        height:50px;
        width:100%;
}

#nav2, #nav2 ul {
line-height: 1;
list-style: none;
}

#nav2 a ,#nav2 a:hover{
border:none;
display: block;
text-decoration: none;
}

#nav2 li {
float: left;
list-style:none;
}

#nav2 a,#nav2 a:visited {
color:#109dd0;
display:block;
font-weight:bold;
padding:6px 12px;
}

#nav2 a:hover, #nav2 a:active {
color:#fff;
text-decoration:none
}

#nav2 li ul {
border-bottom: 1px solid #a9a9a9;
height: auto;
left: -999em;
position: absolute;
width: 900px;
z-index:999;
}

#nav2 li li {
width: auto;
}

#nav2 li li a,#nav2 li li a:visited {
        color:#109dd0;
font-weight:normal;
font-size:0.9em;
}

#nav2 li li a:hover,#nav2 li li a:active {
color:#fff;
}

#nav2 li:hover ul, #nav2 li li:hover ul, #nav2 li li li:hover ul, #nav2 li.sfhover ul, #nav2 li li.sfhover ul, #nav2 li li li.sfhover ul {
left: 30px;
}
</pre>
<p style="text-align: justify;">If you <strong><span style="color: #ff0000;">ensure</span></strong> about <strong><span style="color: #ff0000;">IE6</span></strong> add this java code below;</p>
<pre class="brush: jscript;">&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--

sfHover = function() {
var sfEls = document.getElementById(&quot;nav2&quot;).getElementsByTagName(&quot;LI&quot;);
for (var i=0; i&lt;sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=&quot; sfhover&quot;;
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(&quot; sfhover\\b&quot;), &quot;&quot;);
}
}
}
if (window.attachEvent) window.attachEvent(&quot;onload&quot;, sfHover);

//--&gt;&lt;!]]&gt;
</pre>
<p style="text-align: justify;">That&#8217;s All. The Original post is <a href="http://www.catswhocode.com/blog/wordpress-magazine-style-horizontal-dropdown-menu" target="_blank">WordPress: “Magazine style” Horizontal dropdown menu</a>.</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;title=How%20to%20make%20a%20magazin%20style%20wordpress%20dropdown%20menu%3F&amp;notes=This%20think%20and%20coding%20coming%20from%20Jean-Baptiste%20Jung.%20When%20i%20read%20his%20Ubuntu%20Theme%20Colletction%C2%A0%20article%20for%20choose%20my%20new%20Ubuntu%20theme%20i%20saw%20an%20article%20title%20Magazin%20Style%20Dropdown%20menu%20and%20i%20clicked%20that%20link.%20I%20think%20you%20can%20make%20this%20easily.%C2%A0Sme'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;title=How%20to%20make%20a%20magazin%20style%20wordpress%20dropdown%20menu%3F&amp;bodytext=This%20think%20and%20coding%20coming%20from%20Jean-Baptiste%20Jung.%20When%20i%20read%20his%20Ubuntu%20Theme%20Colletction%C2%A0%20article%20for%20choose%20my%20new%20Ubuntu%20theme%20i%20saw%20an%20article%20title%20Magazin%20Style%20Dropdown%20menu%20and%20i%20clicked%20that%20link.%20I%20think%20you%20can%20make%20this%20easily.%C2%A0Sme'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;t=How%20to%20make%20a%20magazin%20style%20wordpress%20dropdown%20menu%3F'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=How%20to%20make%20a%20magazin%20style%20wordpress%20dropdown%20menu%3F&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;title=How%20to%20make%20a%20magazin%20style%20wordpress%20dropdown%20menu%3F'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;title=How%20to%20make%20a%20magazin%20style%20wordpress%20dropdown%20menu%3F'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-make-a-magazin-style-wordpress-dropdown-menu.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/build-a-top-sliding-login-panel.html' rel='bookmark' title='Permanent Link: Build a Top Sliding Login Panel'>Build a Top Sliding Login Panel</a></li>
<li><a href='http://www.wpfunc.com/wordpress/wordpress-3-0-out.html' rel='bookmark' title='Permanent Link: WordPress 3.0 Out!'>WordPress 3.0 Out!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/how-to-add-numbers-into-comments.html' rel='bookmark' title='Permanent Link: How to Add Numbers Into Comments'>How to Add Numbers Into Comments</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/how-to-make-a-magazin-style-wordpress-dropdown-menu.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
