PageSourceSearch

https://xiss.ac.in/js/script.js

js xiss.ac.in collected 2026-10-04 23:09:30 UTC 11,381 bytes, 349 lines download raw bytes

1   if($( '#mainslider' ).length>0)
2   {
3       $(function(){
4           $( '#mainslider' ).on('init', function (event, slick, currentSlide, nextSlide) {
5               $( '#mainslider' ).css( 'visibility', 'visible' );
6               $('#mainslider li:nth-child(2)').find('.lazyLoad').each(function(){
7                   if($(window).width()>1366){
8                       $(this).attr('src',$(this).attr('data-lazyLoad'));
9                   }else if($(window).width()>480){
10                       $(this).attr('src',$(this).attr('data-lazyLoadLap'));
11                   }else{
12                       if(!$(this).attr('data-lazyLoadMob')){
13                           $(this).attr('src',$(this).attr('data-lazyLoad'));
14                       }else{
15                           $(this).attr('src',$(this).attr('data-lazyLoadMob'));
16                       }
17                   }
18               })
19           });//for loading smooth home banner
20           $('#mainslider').slick({
21               dots: false,
22               autoplay: false,
23               arrows: false,
24               prevArrow: '<span href="" data-role="none" class="ls_prev">Previous</span>',
25               nextArrow: '<span href="" data-role="none" class="ls_next">Next</span>',
26               infinite: true,
27               speed:1000,
28               fade: false,
29               cssEase: 'linear',
30               pauseOnHover: false,
31               //pauseOnDotsHover: true,
32               // slidesToShow:3,
33               //slidesToScroll:3
34               slide: 'li',
35               autoplaySpeed:7000,
36               asNavFor: '#subsliderInfo'
37
38           });
39
40           $('#mainslider').on('beforeChange', function(event, slick, currentSlide, nextSlide){
41               //alert(9);
42
43               $('#mainslider li.slick-active').next('li').find('.lazyLoad').each(function(){
44                   if($(window).width()>1366){
45                       $(this).attr('src',$(this).attr('data-lazyLoad'));
46                   }else if($(window).width()>480){
47                       $(this).attr('src',$(this).attr('data-lazyLoadLap'));
48                   }else{
49                       if(!$(this).attr('data-lazyLoadMob')){
50                           $(this).attr('src',$(this).attr('data-lazyLoad'));
51                       }else{
52                           $(this).attr('src',$(this).attr('data-lazyLoadMob'));
53                       }
54                   }
55               })
56
57           });
58
59           $('#subsliderInfo').on('init', function (event, slick) {
60               $('#subsliderInfo').find('.banner-dots2').wrap("<article class='banner_dots_holder'></article>")
61               $('.banner_dots_holder').append("<span class='playPoseHolder2'><a href='#' class='bannerPause'>pase</a> <a href='#' class='bannerPlay'>play</a></span> ")
62           });//for loading smooth home banner
63
64           $('#subsliderInfo').slick({
65               dots: true,
66               dotsClass: 'banner-dots2',
67               customPaging: function(slider, i) {
68                   return '<span data-role="none">0' + (i + 1) + '</span>';
69               },
70
71               autoplay: true,
72               arrows: false,
73               prevArrow: '<span href="" data-role="none" class="ls_prev">Previous</span>',
74               nextArrow: '<span href="" data-role="none" class="ls_next">Next</span>',
75               infinite: true,
76               speed:1000,
77               fade: true,
78               cssEase: 'linear',
79               pauseOnHover: false,
80               //pauseOnDotsHover: true,
81               // slidesToShow:3,
82               //slidesToScroll:3
83               slide: 'li',
84               autoplaySpeed:7000,
85               asNavFor: '#mainslider'
86           });
87
88           $('.bannerPause').on('click', function() {
89               $('#subsliderInfo')
90                   .slick('slickPause')
91                   .slick('slickSetOption', 'pauseOnDotsHover', false);
92               $(this).hide();
93               $('.bannerPlay').show();
94               return false
95           });
96
97           $('.bannerPlay').on('click', function() {
98               $('#subsliderInfo')
99                   .slick('slickPlay')
100                   .slick('slickSetOption', 'pauseOnDotsHover', true);
101               $(this).hide();
102               $('.bannerPause').show();
103               return false
104           });
105
106           $('.banner-dots2 li').bind('click', function() {
107
108               $('#mainslider li.slick-active').find('.lazyLoad').each(function(){
109                   if($(window).width()>1366){
110                       $(this).attr('src',$(this).attr('data-lazyLoad'));
111                   }else if($(window).width()>480){
112                       $(this).attr('src',$(this).attr('data-lazyLoadLap'));
113                   }else{
114                       if(!$(this).attr('data-lazyLoadMob')){
115                           $(this).attr('src',$(this).attr('data-lazyLoad'));
116                       }else{
117                           $(this).attr('src',$(this).attr('data-lazyLoadMob'));
118                       }
119                   }
120               })
121           });
122       })
123   }
124
125
126   if($( '#gallery' ).length>0)
127   {
128       Fancybox.bind('#gallery a', {
129           caption: function (fancybox, carousel, slide) {
130               return (
131                   `${slide.index + 1} / ${carousel.slides.length} <br />` + slide.caption
132               );
133           },
134       });
135   }
136   if($( '#demo' ).length>0)
137   {
138       $('#demo').slick({
139           dots: false,
140           autoplay: true,
141           arrows: true,
142           prevArrow: $('.carousel-control-prev'),
143           nextArrow: $('.carousel-control-next'),
144           infinite: true,
145           speed: 1000
146       });
147   }
148
149   if($( '#sponsors' ).length>0)
150   {
151       $("#sponsors").slick({
152           draggable: true,
153           autoplay: true,
154           autoplayHoverPause:true,
155           slidesToShow: 9,
156           navigation: true,
157           arrows: false,
158           dots: false,
159           infinite:true,
160           cssEase: 'linear',
161           autoplaySpeed : 0,
162           speed : 2300,
163           responsive: [{
164               breakpoint: 768,
165               settings: {
166                   slidesToShow: 4
167               }
168           }, {
169               breakpoint: 520,
170               settings: {
171                   slidesToShow: 2
172               }
173           }]
174       });
175   }
176   if($( '.slickswiper' ).length>0)
177   {
178      /* $(".slickswiper").slick({
179           draggable: true,
180           autoplay: true,
181           autoplayHoverPause:true,
182           slidesToShow: 4,
183           navigation: true,
184           arrows: false,
185           dots: false,
186           autoplaySpeed : 0,
187           speed : 2300,
188           swipre: true,
189           rtl: false,
190           freeMode: true,
191           cssEase: 'linear',
192           responsive: [{
193               breakpoint: 768,
194               settings: {
195                   slidesToShow: 4
196               }
197           }, {
198               breakpoint: 520,
199               settings: {
200                   slidesToShow: 2
201               }
202           }]
203       });*/
204       var swiper = new Swiper('.swiper-container', {
205           slidesPerView: 4,
206           spaceBetween: 10,
207           freeMode: true,
208           autoplay: true,
209           speed: 5000,
210           loopFillGroupWithBlank: true,
211           breakpoints: {
212               "@0.00": {
213                   slidesPerView: 1,
214                   spaceBetween: 10,
215               },
216               "@0.75": {
217                   slidesPerView: 1,
218                   spaceBetween: 20,
219               },
220               "@1.00": {
221                   slidesPerView: 3,
222                   spaceBetween: 40,
223               },
224               "@1.50": {
225                   slidesPerView: 2,
226                   spaceBetween: 50,
227               },
228           },
229       });
230   }
231   if($( '#alumni' ).length>0)
232   {
233       $("#alumni").slick({
234           draggable: true,
235           autoplay: true,
236           autoplayHoverPause:true,
237           slidesToShow: 1,
238           navigation: true,
239           arrows: true,
240           dots: false,
241           infinite:true,
242           cssEase: 'linear',
243           autoplaySpeed : 4500,
244           speed : 3300,
245           centerMode: false,
246           prevArrow:$(".alarrow"),
247           nextArrow:$(".ararrow"),
248           responsive: [{
249               breakpoint: 1024,
250               settings: {
251                   slidesToShow: 1,
252                   slidesToScroll: 1,
253               }
254           }, {
255               breakpoint: 600,
256               settings: {
257                   slidesToShow: 1,
258                   slidesToScroll: 1
259               }
260           }, {
261               breakpoint: 480,
262               settings: {
263                   slidesToShow: 1,
264                   slidesToScroll: 1
265               }
266           },{
267               breakpoint: 300,
268               settings: {
269                   slidesToShow: 1,
270                   slidesToScroll: 1
271               }
272           }]
273       });
274   }
275
276   if($( '#student' ).length>0)
277   {
278       $("#student").slick({
279           draggable: true,
280           autoplay: true,
281           autoplayHoverPause:true,
282           slidesToShow: 1,
283           slidesToScroll: 1,
284           navigation: true,
285           arrows: true,
286           dots: false,
287           infinite:true,
288           cssEase: 'linear',
289           autoplaySpeed : 4500,
290           speed : 3300,
291           centerMode: false,
292           prevArrow:$(".slarrow"),
293           nextArrow:$(".srarrow"),
294           responsive: [{
295               breakpoint: 1024,
296               settings: {
297                   slidesToShow: 1,
298                   slidesToScroll: 1,
299               }
300           }, {
301               breakpoint: 600,
302               settings: {
303                   slidesToShow: 1,
304                   slidesToScroll: 1
305               }
306           }, {
307               breakpoint: 480,
308               settings: {
309                   slidesToShow: 1,
310                   slidesToScroll: 1
311               }
312           },{
313               breakpoint: 300,
314       settings: {
315       slidesToShow: 1,
316           slidesToScroll: 1
317   }
318   }]
319       });
320   }
321   $(function(){
322       $('.reset').hide();
323       var z=0;
324       $('.increase').click(function(){
325           z++
326           if(z==3){
327               z=0;
328               $(this).hide();
329               $('.reset').show();
330           }
331           $('body *').each(function(){
332               var getSize = $(this).css('font-size'),
333                   getSize2 = getSize.replace(/[^0-9]/g,''),
334                   getSize3 = parseInt(getSize2)+z;
335               $(this).attr('data-fontsize',getSize);
336               $(this).css('font-size',getSize3+'px')
337           })
338       })
339
340       $('.reset').click(function(){
341           z=0
342           $(this).hide();
343           $('.increase').show();
344           $('body *').each(function(){
345               $(this).css('font-size','');
346           })
347       })
348
349   });

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.