PageSourceSearch

https://berkeleycollege.edu/js/main-internal.js

js berkeleycollege.edu collected 2026-10-01 11:42:03 UTC 2,219 bytes, 107 lines download raw bytes

1$(document).ready(function(){
2
3
4//Center Title Course Schedules
5$("#CSTitle").parent().addClass("centerBlock");
6
7//removing padding top on the 2nd content div in CS
8$("#CSUnderGrad").parent().parent().parent().parent().css("padding-top","0");
9
10
11
12// by the numbers trigger
13if( $('#byTheNumbers2').length ) {
14
15  var number1 = $('#byTheNumbers1').text();
16  var number2 = $('#byTheNumbers2').text();
17  var number3 = $('#byTheNumbers3').text();
18
19  var waypoint = new Waypoint({
20    element: document.getElementById('byTheNumbers2'),
21    handler: function() {
22      numAnimate(number1, number2, number3);
23    },
24    offset: 700
25  });
26
27}
28
29
30// slick slider
31 if( $('.onlineSlider').length ) {
32    $('.onlineSlider').slick({
33      dots: true,
34      arrows: false,
35      useCSS: true
36    });
37  }
38
39
40// MAC styles for Banner-v2 in program pages
41if(navigator.userAgent.indexOf('Mac') > 0){
42
43  let beTitle = document.querySelector(".captionTitleBe3")
44  
45  if (beTitle) {
46    beTitle.classList.add("macOs-beTitle")
47    //console.log("This is a MAC")
48  }
49
50}
51else{
52    //console.log("is a PC")
53}
54
55
56});
57
58
59
60
61// by the numbers number animation
62var numAnimate = function(num1, num2, num3){
63
64  var options = {
65    useEasing: false, 
66    useGrouping: true, 
67    separator: ',', 
68    decimal: '.', 
69  };
70
71  var byTheNumbers1 = new CountUp('byTheNumbers1', 0, num1, 0, 0.75, options);
72
73   if (!byTheNumbers1.error) {
74  byTheNumbers1.start();
75
76  } else {
77  console.error(byTheNumbers1.error);
78  }
79
80  var byTheNumbers2 = new CountUp('byTheNumbers2', 0, num2, 0, 1, options);
81  if (!byTheNumbers2.error) {
82  byTheNumbers2.start();
83  } else {
84  console.error(byTheNumbers2.error);
85  }
86
87  var byTheNumbers3 = new CountUp('byTheNumbers3', 0, num3, 0, 1.5, options);
88  if (!byTheNumbers3.error) {
89  byTheNumbers3.start();
90  } else {
91  console.error(byTheNumbers3.error);
92  }
93
94}
95
96
97
98// BTS img effect
99  $('.btsImg')
100    // tile mouse actions
101    .on('mouseover', function(){
102      $(this).children('img').css({'transform': 'scale(1.05)'});
103    })
104    .on('mouseout', function(){
105      $(this).children('img').css({'transform': 'scale(1)'});
106  })
107

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.