<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Simple PHP Navigation'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Thu, 24 Jul 2008 07:51:49 GMT</pubDate>
<item>
<title>tylerhall said on 4/25/07</title>
<link>http://snipplr.com/view/2532/simple-php-navigation/</link>
<description><![CDATA[ <p>An easier and less cumbersome method is to do it all with CSS. With the code below, all you have to do is switch out the  class using PHP (no messy if statements required within the HTML).</p>

<pre><code><style type="text/css" media="screen">
    body.page1 li.page1,
    body.page2 li.page2,
    body.page3 li.page3 { style info here }
</style>

<body class="page2">
...
<ul>
    <li class='page1'><a href='#'>Page 1</a></li>
    <li class='page2'><a href='#'>Page 2</a></li>
    <li class='page3'><a href='#'>Page 3</a></li>
</ul>
</code></pre>
 ]]></description>
<pubDate>Wed, 25 Apr 2007 10:32:51 GMT</pubDate>
<guid>http://snipplr.com/view/2532/simple-php-navigation/</guid>
</item>
</channel>
</rss>