PageSourceSearch

https://dtu.ac.in/Web/js/tabs.js

js dtu.ac.in collected 2026-09-24 10:04:56 UTC 1,777 bytes, 53 lines download raw bytes

1// JavaScript Document
2
3$(document).ready(function () {
4
5    $(".tab_content").hide(); //Hide all content
6    $(".tabs_links ul li:first").addClass("active").show(); //Activate first tab
7    $(".tab_content:first").show(); //Show first tab content
8    //On Click Event
9    $(".tabs_links ul li").click(function () {
10        $(".tabs_links ul li").removeClass("active"); //Remove any "active" class
11        $(this).addClass("active"); //Add "active" class to selected tab
12        $(".tab_content").hide(); //Hide all tab content
13        var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
14        $(activeTab).fadeIn(); //Fade in the active content
15        return false;
16    });
17
18
19
20
21    $(".rtab_content").hide(); //Hide all content
22    $(".tab_navigation ul li:first").addClass("active").show(); //Activate first tab
23    $(".rtab_content:first").show(); //Show first tab content
24    //On Click Event
25    $(".tab_navigation ul li").click(function () {
26        $(".tab_navigation ul li").removeClass("active"); //Remove any "active" class
27        $(this).addClass("active"); //Add "active" class to selected tab
28        $(".rtab_content").hide(); //Hide all tab content
29        var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
30        $(activeTab).fadeIn(); //Fade in the active content
31        return false;
32    });
33
34
35
36});
37
38$(function () {
39    $(".slider1").jCarouselLite({
40        btnNext: ".leftarrow",
41        btnPrev: ".rightarrow"
42    });
43    $("a.galleryimg").fancybox({
44        'titlePosition': 'inside',
45        'overlayColor': '#000',
46        'overlayOpacity': 0.9
47
48    });
49});
50
51
52
53

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.