Get help. Give help. A Web Design and Development Community.

a:active help

  • # November 20, 2012 at 10:33 pm

    Curious if someone can see if I’m doing something wrong here or if I’m just thinking about this the wrong way.

    What the company I’m working with wants is the links to stay “active” (the blue background) while one of the sections is highlighted. Basically it’s a series of boxes that are hidden or shown using javascript (don’t hurt me too bad on how the javascript is coded – I didn’t have a hand in that part :P)

    I’ve tried css methods but nothing is functioning. Maybe I’m just thinking about it wrong and I should be doing using jQuery to activate them?

    # November 20, 2012 at 10:57 pm

    a:active afaik only works on click before returning to the default state. If you want there to be an active state then add a class to the “active” link after clicking it.

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

You must be logged in to reply to this topic.

We have a pretty good* newsletter.