The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

navigation – current page

  • # January 20, 2010 at 12:02 pm

    My first custom themed wordpress site (thanks Chris :)):

    I made sprites for the navigation and wanted to show the rollover state of the current page, so I used jQuery, (code below). I realize if javascript is turned off this won’t work. But is this considered an ok way to do things? Should I really loop through all the pages and echo the li tags for each nav item?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed