Dokumenta
jQuery(this).ready(function($) { $('.pdf').hide() $('a[href^="#"]').on('click', function(event) { $('.pdf').hide() var target = $(this).attr('href');
$('.pdf'+target).toggle();
}); });
-
Rješenje
-
Statut
-
Godišnji izvještaji
2019
2020
2021
var toggler = document.getElementsByClassName("arrow"); var i;
for (i = 0; i < toggler.length; i++) { toggler[i].addEventListener("click", function() { this.parentElement.querySelector(".nested").classList.toggle("active"); this.classList.toggle("caret-down"); }); }