Grow your CSS skills. Land your dream job.

navigation – current page

  • # January 20, 2010 at 12:02 pm

    My first custom themed wordpress site (thanks Chris :)):
    http://whiskycompetition.com/blog/

    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?

    Code:
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".