PageSourceSearch

https://www.tusd1.org/_theme/assets/js/scripts.js

js tusd1.org collected 2026-09-24 09:30:58 UTC 824 bytes, 25 lines download raw bytes

1// js to open nav dropdown on click and hover
2$('ul.nav li.dropdown').hover(function () {
3    if (!$('.navbar-toggle').is(':visible')) {
4        $(this).toggleClass('open', true);
5    }
6}, function () {
7    if (!$('.navbar-toggle').is(':visible')) {
8        $(this).toggleClass('open', false);
9    }
10});
11$('ul.nav li.dropdown a').click(function () {
12    if (!$('.navbar-toggle').is(':visible') && $(this).attr('href') != '#') {
13        $(this).toggleClass('open', false);
14        window.location = $(this).attr('href')
15    }
16});
17
18function toggleIcon(e) {
19    $(e.target)
20        .prev('.panel-heading')
21        .find(".short-full")
22        .toggleClass('glyphicon-plus glyphicon-minus');
23}
24$('.panel-group').on('hidden.bs.collapse', toggleIcon);
25$('.panel-group').on('shown.bs.collapse', toggleIcon);

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.