5 lines of jQuery code to achieve accordion effect

From , 3 Years ago, written in JavaScript, viewed 54 times.
URL https://pastebin.vip/view/7a685d9e
  1. $("#accordion .expanded").hide();
  2. $("a.opening").click(function(){
  3.         $(this).next().slideToggle('fast', function(){
  4.                 $(this).prev("a.opening").toggleClass("active");
  5.                 });
  6.         return false;
  7. });

Reply to "5 lines of jQuery code to achieve accordion effect"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website