Grow your CSS skills. Land your dream job.

CSS Toggable tab change dynamically with Javascript

  • # April 14, 2013 at 2:51 pm

    I am trying to change the background color for a button using JavaScript to change it dynamically once the user clicks on a specific button.

    If you look at the underneath link, once you click on the blue or red box the yellow bar and text change but I also want the button background color to change.

    http://jsfiddle.net/thepaddyman/XWjJm/

    Let me know if this is possible.

    Thanks.

    # April 16, 2013 at 6:52 am

    I decided to use another toggable tab content changer.

    Cheers

    Patrick

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".