PageSourceSearch

https://newdramatists.org/themes/custom/nd/nd.js?tch394

js newdramatists.org collected 2026-10-02 04:30:43 UTC 2,412 bytes, 69 lines download raw bytes

1jQuery(document).ready(function ($){
2    mediumZoom('[data-zoomable]', {
3      margin: 20,
4      scrollOffset: 0
5    })
6    $('img').parent('a').css("border-bottom", "none");
7    $('a[href="#search"]').on('click', function(event) {
8        $('#search').addClass('open');
9        $('#search input').attr("placeholder", "search").focus();
10        // $('#search input').attr("autofocus", "");
11    });
12    $('#search, #search button.close').on('click keyup', function(event) {
13        if (event.target == this || event.target.className == 'close' || event.keyCode == 27) {
14            $(this).removeClass('open');
15        }
16    });
17    // $(".pwlist").click(function() {
18    //     $(this).addClass("active");
19    //     if ($('.pwlist .pws').is(':visible')) {
20    //         $(this).removeClass("active");
21    //     }
22    //     $('.pwlist .pws').slideToggle();
23    //     return false;
24    // });
25    // $('.pwlist .pws').click(function(e) {
26    //     e.stopPropagation();
27    // });
28    // $(document).click(function() {
29    //     $(".pwlist").removeClass("active");
30    //     $('.pwlist .pws').slideUp();
31    // });
32    new Readmore('.readmore', {
33        moreLink: '<a href="#">See more</a>',
34        lessLink: '<a href="#">See less</a>'
35    });
36
37    $('h3.slider').click(function() {
38        $(this).toggleClass('active');
39        $(this).nextAll('.hidecontain').slideToggle('slow');
40        $(this).nextAll('.hidecontain').toggleClass('visible');
41        return false;
42    });
43    $('a.dropnav').click(function() {
44        $('a.dropnav').removeClass('active');
45        if ($(this).nextAll('.childnav').hasClass('seen')) {
46            $(this).removeClass('active');
47            $(this).nextAll('.childnav').toggleClass('seen');
48        } else {
49            $('.childnav').removeClass('seen');
50            $(this).toggleClass('active');
51            $(this).nextAll('.childnav').toggleClass('seen');
52        }
53        return false;
54    });
55    $('a.dropnav').click(function(e) {
56        e.stopPropagation();
57    });
58	$("header nav.mainnav > ul > li > a").lettering('words');
59    if (Cookies.get('ndBanner')) {
60        $('.alert').hide();
61    } else {
62        $('.alert').addClass('display');
63        $('a.slideclose').click(function() {
64            Cookies.set('ndBanner', '1', { expires: 1, path: '/' });
65            $('.alert').animate({width: 'toggle'});;
66            return false;
67        });
68    };
69});

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.