Forums

  • # June 17, 2013 at 5:48 pm

    hajzer.info/#portfolio

    when you click live sites i want the list tiem to change color and stay like that until i change it.

    # June 17, 2013 at 5:57 pm

    this is a jquery approach

    $(‘.list li’).click(function(){
    $(‘.active’).removeClass(‘active’);
    $(this).addClass(‘active’);

    });

    # June 18, 2013 at 11:34 am

    X100 better to use css for this IMO.

    # June 18, 2013 at 11:41 am

    >X100 better to use css for this IMO.

    How would you do this with a click?

    # June 18, 2013 at 7:47 pm

    it is possible with checkboxes and the ~ selector.
    When a checkbox-category is clicked(selected)
    first its label assuming you will use labels changes style
    and then you select a div with the ~ selector and change its background to the slide you want
    as an alternative you could change the opacity of 4 absolutely positioned div s
    one on top of another.

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag