<?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>Degrama - Online Superstars &#187; Navigation</title> <atom:link href="http://www.degrama.com/tag/navigation/feed/" rel="self" type="application/rss+xml" /><link>http://www.degrama.com</link> <description></description> <lastBuildDate>Fri, 21 Jan 2011 17:51:41 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Customized Navigation Bar in WordPress</title><link>http://www.degrama.com/wordpress/customized-navigation-bar-in-wordpress/</link> <comments>http://www.degrama.com/wordpress/customized-navigation-bar-in-wordpress/#comments</comments> <pubDate>Fri, 29 Jan 2010 20:52:09 +0000</pubDate> <dc:creator>Degrama</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Navigation]]></category><guid
isPermaLink="false">http://www.degrama.com/?p=344</guid> <description><![CDATA[Adding too many pages to a WordPress blog that has a navigation bar in the header can really make your WordPress blog a mess. There are options to control what pages are shown in the navigation bar and even a way to add external links. How To » The Template Tag, wp_list_pages(), displays a list [...]]]></description> <content:encoded><![CDATA[<p>Adding too many pages to a WordPress blog that has a navigation bar in the header can really make your WordPress blog a mess. There are options to control what pages are shown in the navigation bar and even a way to add external links.<br
/> <span
id="more-344"></span></p><h3>How To »</h3><p>The Template Tag, wp_list_pages(), displays a list of WordPress Pages as links. It is often used to customize the Sidebar or Header. So now the code of the top nav bar will look like this:</p><div
class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div
class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;ul id=&quot;pagenav&quot;&gt;<br
/> &nbsp; &nbsp;&lt;li class=&quot;<span
style="color: #000000; font-weight: bold;">&lt;?php</span> <span
style="color: #b1b100;">if</span> <span
style="color: #009900;">&#40;</span> is_home<span
style="color: #009900;">&#40;</span><span
style="color: #009900;">&#41;</span> <span
style="color: #009900;">&#41;</span> <span
style="color: #009900;">&#123;</span> <span
style="color: #b1b100;">echo</span> <span
style="color: #0000ff;">'current_page_item'</span><span
style="color: #339933;">;</span> <span
style="color: #009900;">&#125;</span> <span
style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt; &lt;a title=&quot;<span
style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span
style="color: #009900;">&#40;</span><span
style="color: #0000ff;">'name'</span><span
style="color: #009900;">&#41;</span><span
style="color: #339933;">;</span> <span
style="color: #000000; font-weight: bold;">?&gt;</span>&quot; href=&quot;<span
style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span
style="color: #009900;">&#40;</span><span
style="color: #0000ff;">'url'</span><span
style="color: #009900;">&#41;</span><span
style="color: #339933;">;</span> <span
style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;</div></div><p>You can simply edit the header.php file and exclude any page id you want, you can also include the pages you want.</p><h3>Creating Two-Tiered Conditional Navigation in WordPress »</h3><p>A common navigational scheme, parent pages on top and child pages (if they exist) on bottom as seen at the top of this post.</p><p><strong>How To »</strong></p><p>Darren Hoyt goes through a nice solution to help us: 1) query the page, 2) determine if there are child pages, and 3) properly highlight both the .current_page_parent and .current_page_item links.</p><div
class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div
class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">post_parent<span
style="color: #009900;">&#41;</span><br
/> <span
style="color: #000088;">$children</span> <span
style="color: #339933;">=</span> wp_list_pages<span
style="color: #009900;">&#40;</span><span
style="color: #0000ff;">&quot;title_li=&amp;child_of=&quot;</span><span
style="color: #339933;">.</span><span
style="color: #000088;">$post</span><span
style="color: #339933;">-&gt;</span><span
style="color: #004000;">post_parent</span><span
style="color: #339933;">.</span><span
style="color: #0000ff;">&quot;&amp;echo=0&quot;</span><span
style="color: #009900;">&#41;</span><span
style="color: #339933;">;</span> <span
style="color: #b1b100;">else</span><br
/> <span
style="color: #000088;">$children</span> <span
style="color: #339933;">=</span> wp_list_pages<span
style="color: #009900;">&#40;</span><span
style="color: #0000ff;">&quot;title_li=&amp;child_of=&quot;</span><span
style="color: #339933;">.</span><span
style="color: #000088;">$post</span><span
style="color: #339933;">-&gt;</span><span
style="color: #004000;">ID</span><span
style="color: #339933;">.</span><span
style="color: #0000ff;">&quot;&amp;echo=0&quot;</span><span
style="color: #009900;">&#41;</span><span
style="color: #339933;">;</span><br
/> <span
style="color: #b1b100;">if</span> <span
style="color: #009900;">&#40;</span><span
style="color: #000088;">$children</span><span
style="color: #009900;">&#41;</span> <span
style="color: #009900;">&#123;</span> <span
style="color: #000000; font-weight: bold;">?&gt;</span></div></div><p>And then he show us how to use CSS to make sure the :active and :hover states display correctly whether or not subpages exist — if they do, the primary nav uses current_page_parent, if they don’t, it resorts to simply current_page_item.</p><h3>Use breadcrumbs</h3><p>Breadcrumbs are great for so many reasons: usability, SEO, etc. In terms of plugins, there are many options, my favorite is <a
title="Yoast Breadcrumbs" href="http://yoast.com/wordpress/breadcrumbs/" target="_blank">Yoast’s Breadcrumbs</a>, because it’s easy to implement. Another <a
title="Breadcrumb plugin" href="http://justintadlock.com/archives/2009/04/05/breadcrumb-trail-wordpress-plugin" target="_blank">breadcrumbs plugin</a>, gives you a new template tag called breadcrumb_trail() that you can place anywhere in your theme. Once that’s done, it’ll display a hierarchical menu of where the current visitor is on your site. It’s quite useful if you have more than a few pages or posts.</p><p><a
href="http://www.degrama.com/wp-content/uploads/wordpress-breadcrumbs.jpg"><img
class="alignnone size-full wp-image-327" title="Wordpress Breadcrumbs" src="http://www.degrama.com/wp-content/uploads/wordpress-breadcrumbs.jpg" alt="" width="500" height="40" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.degrama.com/wordpress/customized-navigation-bar-in-wordpress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Master CSS Navigation and Menu Techniques</title><link>http://www.degrama.com/css/master-css-navigation-menu-techniques/</link> <comments>http://www.degrama.com/css/master-css-navigation-menu-techniques/#comments</comments> <pubDate>Sun, 13 Sep 2009 19:14:39 +0000</pubDate> <dc:creator>Degrama</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Menu]]></category> <category><![CDATA[Navigation]]></category><guid
isPermaLink="false">http://degrama.com/?p=19</guid> <description><![CDATA[Good website navigation is vital part of any website. Good navigation is both user-friendly and complements the rest of the site’s design elements. Below are some techniques and tips for creating navigation that does both. Create dropdown menus with CSS only A complete tutorial on creating CSS-based dropdown menus that behave like dropdown lists. It’s [...]]]></description> <content:encoded><![CDATA[<p>Good <strong>website navigation</strong> is vital part of any website. Good navigation is both user-friendly and complements the rest of the site’s design elements. Below are some techniques and tips for creating navigation that does both.</p><p><span
id="more-24"></span></p><p><a
href="http://www.jankoatwarpspeed.com/post/2009/06/20/Create-dropdown-menus-with-CSS-only.aspx">Create dropdown menus with CSS only</a><br
/> A complete tutorial on creating CSS-based dropdown menus that behave like dropdown lists. It’s a short and easy-to-implement method.</p><p><a
href="http://www.jankoatwarpspeed.com/post/2009/06/20/Create-dropdown-menus-with-CSS-only.aspx"><img
style="display: inline;" src="http://media1.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/108.jpg" alt="Create dropdown menus with CSS only" width="480" height="300" /></a></p><p><a
href="http://veerle.duoh.com/blog/comments/simple_scalable_css_based_breadcrumbs">Simple scalable CSS based breadcrumbs </a><br
/> Using breadcrumbs on your site can make it easier for your visitors to navigate. And this tutorial shows a method for creating scalable breadcrumbs using CSS.</p><p><a
href="http://veerle.duoh.com/blog/comments/simple_scalable_css_based_breadcrumbs"><img
style="display: inline;" src="http://media1.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/109.gif" alt="Simple scalable CSS based breadcrumbs " width="480" height="300" /></a></p><p><a
href="http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/">Horizontal Sub-nav with CSS &amp; jQuery </a><br
/> Here’s a complete tutorial on creating a horizontal navigation submenu using purely CSS (in most cases, anyway). If you want it to work in IE6, you’ll need to implement some jQuery, too.</p><p><a
href="http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/"><img
style="display: inline;" src="http://media2.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/117.jpg" alt="Horizontal Sub-nav with CSS &amp; jQuery " width="480" height="300" /></a></p><p><a
href="http://codylindley.com/CSS/325/css-step-menu"> CSS Step Menu</a><br
/> Creating a stepped menu (also referred to as a “wizard menu”) can be tricky, especially when it has to change the number of steps depending on what it’s being used for. Here’s an example of one with information on how to create your own.</p><p><a
href="http://codylindley.com/CSS/325/css-step-menu"><img
style="display: inline;" src="http://media2.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/92.gif" alt=" CSS Step Menu" width="480" height="300" /></a></p><p><a
href="http://www.teehanlax.com/blog/?p=211">The Tabbed Breadcrumb Navigation</a><br
/> A comprehensive tutorial on creating breadcrumb navigation formatted as tabs.</p><p><a
href="http://www.teehanlax.com/blog/?p=211"><img
style="display: inline;" src="http://media1.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/69.jpg" alt="The Tabbed Breadcrumb Navigation" width="480" height="300" /></a></p><p><a
href="http://westciv.com/style_master/blog/apples-navigation-bar-using-only-css"> Apple’s Navigation bar using only CSS</a><br
/> This tutorial shows how to create an Apple-like navigation bar using only CSS and HTML (with no images).</p><p><a
href="http://westciv.com/style_master/blog/apples-navigation-bar-using-only-css"><img
style="display: inline;" src="http://media1.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/apple.jpg" alt=" Apple's Navigation bar using only CSS" width="480" height="280" /></a></p><p><a
href="http://www.zabdesign.de/pro/public/sitemap/sitemap-styled.html#now-here">Sitemap Celebration</a><br
/> Here’s a sitemap style that’s cross-browser compatible (even back to IE5 for the Mac) and based on nested lists.</p><p><a
href="http://www.zabdesign.de/pro/public/sitemap/sitemap-styled.html#now-here"><img
style="display: inline;" src="http://media2.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/68.gif" alt="Sitemap Celebration" width="480" height="300" /></a></p><p><a
href="http://woork.blogspot.com/2008/06/nice-css-menu-with-feed-reader-icons.html">Nice CSS menu with feed reader icons list</a><br
/> Create a menu of feed reader icons using CSS. It could easily be adapted to other types of menus.</p><p><a
href="http://woork.blogspot.com/2008/06/nice-css-menu-with-feed-reader-icons.html"><img
style="display: inline;" src="http://media2.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/59.gif" alt="Nice CSS menu with feed reader icons list" width="480" height="300" /></a></p><p><a
href="http://blog.themeforest.net/resources/multilevel-menus-with-jquery-and-css/"> Multi-level Menus with jQuery and CSS</a><br
/> Here’s a collection of techniques for creating multi-level menus in pure CSS and CSS/JS. In addition to basic techniques, it also covers more advanced and creative examples.</p><p><a
href="http://blog.themeforest.net/resources/multilevel-menus-with-jquery-and-css/"><img
style="display: inline;" src="http://media1.smashingmagazine.com/wp-content/uploads/images/60-more-css-techniques/41.gif" alt=" Multi-level Menus with jQuery and CSS" width="480" height="300" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.degrama.com/css/master-css-navigation-menu-techniques/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 4/8 queries in 0.007 seconds using disk
Object Caching 205/387 objects using disk

Served from: www.degrama.com @ 2012-02-05 18:58:13 -->
