PageSourceSearch

https://www.thehewittfertilitycentre.org.uk/_frontend/js/main/functions/accordions.js

js thehewittfertilitycentre.org.uk collected 2026-10-04 13:27:15 UTC 730 bytes, 22 lines download raw bytes

1var initTabsToAccordion = function () {
2    $('.tab-title > a').on('click', function () {
3        var link = $(this);
4        var content = link.parents('.tabs-row').find('.content').removeClass('active');
5
6        setTimeout(function () {
7            $(document).foundation('equalizer', 'reflow');
8        }, 10);
9    });
10
11    $('.accordion-navigation > a').on('click', function () {
12        // scroll into view if on mobile
13
14        if ($(window).width() <= mediumBreakpoint) {
15            var $clickedAccordionHeading = $(this);
16
17            setTimeout(function () {
18                $("html, body").animate({ scrollTop: $clickedAccordionHeading.offset().top });
19            }, 300);
20        }
21    });
22};

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.