1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Trying to get same jquery arrow effect on different menu in same page

Discussion in 'jQuery' started by paladin884, Aug 29, 2014.

  1. #1
    Hello guys,
    I wonder if someone can help me fixing an accordion menu. Basically I have one accordion menu on the main page and when click on that menu the arrows change upside down and the sections open. I also have a top navigation menu and when click on any item open the content accordion section and it's scroll to it but it doesn't change the arrow upside down.

    This is the code for the main accordion:
    $('.accordion').click(function(){var nextbody = $(this).next('.accordion-body');


    function changearrow(divv){if($(divv).next('.accordion-body').css('display')==='none'){


    This is the code from the top menu:
    dataslide =1;


    Any idea how can I achieve this?

    Thanks a lot!
    paladin884, Aug 29, 2014 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Can you place all of this into a js fiddle?
    HuggyStudios, Aug 30, 2014 IP