Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

About selection box

Discussion in 'Website Coding & Programming Forum:' started by active-worker, Aug 7, 2014.

  1. active-worker

    active-worker New Member

    Hi Guys,

    Good day! I like to fix one thing. When clicked/touched anywhere in the selection box, two things happen, the contents of the selection box is shown and the 'v' symbol changes in a '^' symbol.

    [​IMG]

    Any help is(GREATLY)appreciated .....

    Thank you.
     
  2. Tony Hardy

    Tony Hardy Guest

    Can you link us to the live version? Or show us some code?
     
  3. active-worker

    active-worker New Member

    Hi Tony Hardy,

    Thanks for your reply. I am happy to say that I have already fixed this by using that code:

    Code:
    $(".nav-btn").click(function() {
        $(this).toggleClass("active");
    });
    
    nav-btn__arrow.active {
        transform: rotate(180deg);
    }
    nav-btn__content {
        display:none;
    }
    nav-btn__content.active {
        display:block;
    }
     

Share This Page