JAVASCRIPT   28
responsive tabs
Guest on 16th September 2023 12:16:29 AM


  1. (function ($) {
  2.     var o = $('.responsive-tabs');
  3.     if (o.length > 0) {
  4.         include('/js/jquery.easy-responsive-tabs.js');
  5.  
  6.         $(document).ready(function () {
  7.             o.each(function () {
  8.                 var $this = $(this);
  9.                 $this.easyResponsiveTabs({
  10.                     type: $this.attr("data-type") === "accordion" ? "accordion" : "default"
  11.                 });
  12.             })
  13.         });
  14.     }
  15. })($);

Raw Paste

Login or Register to edit or fork this paste. It's free.