PageSourceSearch

https://du.ac.bd/fontView/assets/modules/custom.js

js du.ac.bd collected 2026-09-24 09:23:30 UTC 2,086 bytes, 73 lines download raw bytes

1function openNav() {
2    document.getElementById("mySidenav").style.width = "350px";
3}
4/* Set the width of the side navigation to 0 */
5function closeNav() {
6    document.getElementById("mySidenav").style.width = "0";
7}
8$(document).ready(function () {
9    $("#flip").click(function () {
10        $("#panel").slideToggle("slow");
11    });
12
13    // AOS.init();
14});
15//* Loop through all dropdown buttons to toggle between hiding and showing its dropdown content - This allows the user to have multiple dropdowns without any conflict */
16var dropdown = document.getElementsByClassName("dropdown-btn");
17var i;
18
19for (i = 0; i < dropdown.length; i++) {
20    dropdown[i].addEventListener("click", function () {
21        this.classList.toggle("active");
22        var dropdownContent = this.nextElementSibling;
23        if (dropdownContent.style.display === "block") {
24            dropdownContent.style.display = "none";
25        } else {
26            dropdownContent.style.display = "block";
27        }
28    });
29}
30
31/*Scroll to top when arrow up clicked BEGIN*/
32$(window).scroll(function () {
33    var height = $(window).scrollTop();
34    if (height > 100) {
35        $("#back2Top").fadeIn();
36    } else {
37        $("#back2Top").fadeOut();
38    }
39});
40$(document).ready(function () {
41    $("#back2Top").click(function (event) {
42        event.preventDefault();
43        $("html, body").animate(
44            {
45                scrollTop: 0,
46            },
47            "slow"
48        );
49        return false;
50    });
51});
52/*Scroll to top when arrow up clicked END*/
53AOS.init({
54    duration: 1200,
55});
56$(document).mouseup(function (e) {
57    var container = $("#web-search-div");
58    if (!container.is(e.target) && container.has(e.target).length === 0) {
59        if ($(".top-search").is(":visible")) {
60            $(".top-search").slideUp();
61        }
62    }
63});
64
65$('a.showMore').click(function(){
66    $(".shortBiography").hide();
67    $(".more").show();
68})
69$('a.lessNow').click(function(){
70    $(".shortBiography").show();
71    $(".more").hide();
72})
73

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.