PHPnews.io

Auto-selecting navigation

Written by Remy Sharp / Original link on Jun. 17, 2006

This article offers an alternative to the laborious task of coding up which <li> or <a> navigation tags need the 'selected' class (or however you concoct the solution). The Problem Any web developer, or designer that wants to offer some visual indication which page the we are on, they…