Cook Haus
$('.gallery header').show(); var clickedItem = $(this).find('img').attr('data-item'); //console.log(clickedItem); $('#gallery_slider .bjqs li').hide(); $("#gallery_slider .bjqs").find("[data-item='" + clickedItem + "']").css('display','list-item'); }); $('#banner_two').bjqs({ animtype : 'fade', height : 1024, width : 1920, responsive : true, showcontrols : true, keyboardnav : false }); $('#gallery_slider').bjqs({ animtype : 'fade', height : 1024, width : 1920, responsive : true, showcontrols : true, keyboardnav : false }); //menu accordions $('.menu-heading').on('click',function() { //slide toggle if section already visible if ( $(this).next('.menu-section').is(':visible') ) {$(this).next('.menu-section').slideToggle();} $(this).find('i').toggleClass('fa-caret-down'); $(this).find('i').toggleClass('fa-caret-up'); // show packery section $('.menu-section').hide(); $(this).next('.menu-section').show().packery(); }); }); {/exp:stash:set}