PageSourceSearch

https://www.ciol.org.uk/sites/default/modules/contrib/quicktabs/js/qt_accordion.js?tm8ks5

js ciol.org.uk collected 2026-10-02 03:16:48 UTC 637 bytes, 23 lines download raw bytes

1(function ($) {
2
3Drupal.behaviors.qt_accordion = {
4  attach: function (context, settings) {
5    $('.quick-accordion', context).once(function(){
6      var id = $(this).attr('id');
7      var qtKey = 'qt_' + this.id.substring(this.id.indexOf('-') +1);
8      var options = settings.quicktabs[qtKey].options;
9
10      options.active = parseInt(settings.quicktabs[qtKey].active_tab);
11      if (settings.quicktabs[qtKey].history) {
12        options.event = 'change';
13        $(this).accordion(options);
14        Drupal.quicktabsBbq($(this), 'h3 a', 'h3');
15      }
16      else {
17        $(this).accordion(options);
18      }
19    });
20  }
21}
22
23})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.