[thelist] PHP - good ways to indicate current page in navigation?

Jono jono at charlestonwebsolutions.com
Sat Jul 22 10:49:07 CDT 2006

> I'd like to indicate what section the user is in by writing out a class on a
>LI item dynamically server side.


Take a look at these articles:
[ 1 ] is from ALA's site, and is similar to what you mentioned in your
original post.  [ 2a, 2b ] are also similar, but more dynamic, and more
efficient, and a bit more difficult to set up - but worth the extra time and
effort.  [ 2a, 2b ] cover far more than just keeping your navigation
current, and are a small part of an excellent Usability and Branding

[ 1 ] Keeping Navigation Current with PHP:

[ 2a ] PHP, CSS and Well-Formed Code Improve Your Productivity (Part 1):

[ 2b ] PHP, CSS and Well-Formed Code Improve Your Productivity (Part 2):

Jono Young
Designer | Developer | Illustrator
Charleston Web Solutions
"Bringing Higher Standards to the Lowcountry"

More information about the thelist mailing list