Grow your CSS skills. Land your dream job.

Highlight link on same page

  • # May 6, 2010 at 4:13 pm

    Hi Guys, I have tried everything to get this to work. I have a page that has list of provinces. Once the link is clicked it loads a series of citys. What I’m trying to achieve is… Once a province is clicked I would like the province to stay highlighted in the menu. This is easy if the cities were on separate pages, but because they are on the same page I’m really struggling. I found a so called solution online, but I can’t seem to get it to work. I will post it below. If anyone has a better solution I’m all ears. Thanks in advance for taking a look at this.

    Code:
    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





    # June 10, 2010 at 3:50 pm

    This should work:

    Code:
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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