PageSourceSearch

https://www.indiainfotech.com/wp-content/themes/indiainfotech/js/main.js?ver=7.0.6

js indiainfotech.com collected 2026-10-06 11:21:32 UTC 20,372 bytes, 665 lines download raw bytes

1// Parallax Home Page Loader�
2// ======================�
3jQuery("body.download").queryLoader2({�
4        barColor: "#e7d408",�
5        backgroundColor: "#e7d408",�
6        percentage: true,�
7        barHeight: 3,�
8        completeAnimation: "grow",�
9        minimumTime: 200�
10    });�
11// Dropdown�
12//----------�
13jQuery(document).ready(function(){"use strict";�
14if( jQuery('body').find('.header-4').length>0 ) {�
15    jQuery('#mukam_header ul.nav.navbar-nav > li').each( function() {�
16        jQuery(this).addClass('menu-style1 menu1-c');�
17    });�
18}�
19});�
20jQuery(document).ready(function(){"use strict";�
21    jQuery( '.menu-item-has-children' ).each( function() {�
22        jQuery(this).addClass('dropdown');�
23    });�
24      �
25    jQuery( '.menu-item:not(.menu-item-has-children) .menu-link' ).each( function() {�
26        jQuery(this).addClass('trigger');�
27    });�
28    �
29    jQuery('ul.nav li.dropdown').hover(function() {�
30      jQuery(this).find('>.dropdown-menu').stop(true, true).delay(50).fadeIn(400);�
31    }, function() {�
32      jQuery(this).find('>.dropdown-menu').stop(true, true).delay(300).fadeOut(400);�
33    });  �
34�
35});�
36�
37�
38// Fixed Header�
39// ======================�
40�
41jQuery(window).load(function() {"use strict";�
42if( jQuery('body').find('.parallax-homepage').length>0 ) {�
43    var fixclass = jQuery( '.mukam-waypoint2' ).data( 'animateUp' ),�
44        loaded = ' mukam-header2 ' + fixclass;�
45�
46    jQuery('#mukam_header').attr('id','mukam_header2').removeAttr('mukam_header');�
47    jQuery('#mukam_header2').attr( 'class' , loaded);�
48    �
49    // Parallax Fix�
50    //-------------�
51    var head2 = jQuery( '#mukam_header2' );�
52    jQuery( '.mukam-waypoint2' ).each( function(i) {�
53    var el = jQuery( this ),�
54        animClassDown = el.data( 'animateDown' ),�
55        animClassUp = el.data( 'animateUp' );�
56 �
57    el.waypoint( function( direction ) {�
58        if( direction === 'down' && animClassDown ) {�
59            head2.attr('class', 'mukam-header2 ' + animClassDown);�
60        }�
61        else if( direction === 'up' && animClassUp ){�
62            head2.attr('class', 'mukam-header2 ' + animClassUp);�
63        }�
64        }, { offset: '75px' } );�
65} );�
66�
67}�
68�
69else {�
70�
71    // Fixed Header�
72    // ======================�
73    var head = jQuery( '#mukam_header' );�
74    jQuery( '.mukam-waypoint' ).each( function(i) {"use strict";�
75        var el = jQuery( this ),�
76            animClassDown = el.data( 'animateDown' ),�
77            animClassUp = el.data( 'animateUp' );�
78     �
79        el.waypoint( function( direction ) {�
80            if( direction === 'down' && animClassDown ) {�
81                head.attr('class', 'mukam-header ' + animClassDown);�
82            }�
83            else if( direction === 'up' && animClassUp ){�
84                head.attr('class', 'mukam-header ' + animClassUp);�
85            }�
86        }, { offset: '-1px' } );�
87    } );�
88}�
89});�
90// Mega Menu�
91//----------�
92jQuery(document).ready(function(){"use strict";�
93jQuery( ".multi .dropdown-menu .dropdown-menu" ).removeClass( "dropdown-menu" );�
94});�
95// Tab Active�
96// ======================�
97jQuery(window).load(function() { �
98    if( jQuery('body').find('.tab-content').length>0 ) {       �
99            jQuery('.tab-content div:first-child').addClass('active in');�
100    }�
101});�
102�
103// Show Hide TopSection�
104// ======================�
105jQuery(document).ready(function() {"use strict";�
106        jQuery('.top-section-container .showhide .trans-topsection').click(function() {�
107          jQuery('.top-section').slideToggle( 300, "linear", function() {�
108          jQuery('.mukam-waypoint').css('marginTop', jQuery('.mukam-header').outerHeight(true) );�
109            // Animation complete.�
110          });�
111        });�
112});�
113�
114// Search Widget Open - Close�
115// ======================�
116var searchCheck = "close";�
117jQuery(document).ready(function() {"use strict";�
118�
119    jQuery( ".search-widget .social-box" ).click(function() {�
120        if( searchCheck == "close") {�
121          jQuery('.search-widget').addClass( 'open' );  �
122          jQuery('.search').addClass( 'open' );�
123          jQuery('.search-widget .social-box').addClass( 'open' );�
124          searchCheck = "open"�
125        }�
126        else {�
127          jQuery('.search-widget').removeClass( 'open' );  �
128          jQuery('.search').removeClass( 'open');�
129          jQuery('.search-widget .social-box').removeClass( 'open' );�
130          searchCheck = "close"�
131        }�
132    });�
133});�
134�
135�
136�
137jQuery(document).ready(function($) {"use strict";�
138    $('#commentrespond  input#submit').addClass('buton b_inherit buton-2 buton-mini');�
139});�
140�
141�
142// Pretty Photo�
143// ====================== �
144jQuery(document).ready(function(){"use strict";�
145    jQuery("a[data-rel^='prettyPhoto']").prettyPhoto({�
146        theme: "light_square"�
147    });�
148  });�
149�
150// TOGGLE�
151// ======================�
152jQuery(document).ready(function() {"use strict";�
153    jQuery('.toggle').each(function() {�
154        var tis = jQuery(this);�
155        tis.click(function() {�
156            tis.next('div').slideToggle( 400, "easeInCirc", function() {�
157            tis.toggleClass('title-active'); �
158            });�
159        });�
160    });�
161});�
162�
163// Blog Home Page Slider�
164// ======================�
165jQuery(window).load(function() {"use strict";�
166if( jQuery('body').find('#foo3').length>0 ) {�
167jQuery("#foo3").carouFredSel({�
168    responsive: true,�
169    width: "100%",�
170    height: "variable",�
171    items: {    width: 1920,�
172                height: "auto",�
173                visible: {�
174                    min: 1,�
175                    max: 1�
176                }�
177            },�
178    auto : false,�
179    prev    : { �
180                button  : ".html_carousel .prev",�
181                key     : "left"�
182            },�
183            next    : { �
184                button  : ".html_carousel .next",�
185                key     : "right"�
186            },�
187    scroll      : {�
188            fx          : "crossfade",�
189            easing      : "linear"�
190    }�
191});�
192}�
193});�
194�
195// Latest Work Carousel�
196// ======================�
197jQuery(window).load(function() {"use strict";�
198if( jQuery('body').find('#carousellatest').length>0 ) {�
199    jQuery("#carousellatest").carouFredSel({�
200            responsive: true,�
201            scroll: 1,�
202            auto: false,�
203            items: {�
204                width: 370,�
205                height: 350,�
206                visible: {�
207                    min: 1,�
208                    max: 10�
209                }�
210            },�
211            prev    : { �
212                button  : ".carousel-container .prev",�
213                key     : "left"�
214            },�
215            next    : { �
216                button  : ".carousel-container .next",�
217                key     : "right"�
218            }�
219            �
220    }); �
221}�
222});�
223�
224// Latest Product�
225// ======================�
226jQuery(window).load(function() {"use strict";�
227if( jQuery('body').find('#latestproduct-carousel').length>0 ) {�
228    jQuery("#latestproduct-carousel").carouFredSel({�
229            responsive: true,�
230            scroll: 1,�
231            auto: false,�
232            �
233            items: {�
234                width: 300,�
235                visible: {�
236                    min: 1,�
237                    max: 4�
238                }�
239            },�
240            prev    : { �
241                button  : ".latestproduct-container .prev",�
242                key     : "left"�
243            },�
244            next    : { �
245                button  : ".latestproduct-container .next",�
246                key     : "right"�
247            }�
248            �
249    }); �
250}�
251});�
252�
253// Latest Product�
254// ======================�
255jQuery(window).load(function() {"use strict";�
256if( jQuery('body').find('#latestproduct-carousel-2').length>0 ) {�
257    jQuery("#latestproduct-carousel-2").carouFredSel({�
258            responsive: true,�
259            scroll: 1,�
260            auto: false,�
261            �
262            items: {�
263                width: 300,�
264                visible: {�
265                    min: 1,�
266                    max: 4�
267                }�
268            },�
269            prev    : { �
270                button  : ".latestproduct-container #prev2",�
271                key     : "left"�
272            },�
273            next    : { �
274                button  : ".latestproduct-container #next2",�
275                key     : "right"�
276            }�
277            �
278    }); �
279}�
280});�
281�
282// Latest Product�
283// ======================�
284jQuery(window).load(function() {"use strict";�
285if( jQuery('body').find('#latestproduct-carousel-3').length>0 ) {�
286    jQuery("#latestproduct-carousel-3").carouFredSel({�
287            responsive: true,�
288            scroll: 1,�
289            auto: false,�
290            �
291            items: {�
292                width: 300,�
293                visible: {�
294                    min: 1,�
295                    max: 4�
296                }�
297            },�
298            prev    : { �
299                button  : ".latestproduct-container #prev3",�
300                key     : "left"�
301            },�
302            next    : { �
303                button  : ".latestproduct-container #next3",�
304                key     : "right"�
305            }�
306            �
307    }); �
308}�
309});�
310�
311// Our Client�
312// ======================�
313jQuery(window).load(function() {"use strict";�
314  jQuery('.clientslider').flexslider({�
315    directionNav: false,�
316    animation: "slide",�
317    animationLoop: false,�
318    itemWidth: 218,�
319    itemMargin: 0,�
320    minItems: 2,�
321    maxItems: 5�
322  });�
323});�
324�
325// Our Client's SAY�
326// ======================�
327jQuery(window).load(function() {"use strict";�
328  jQuery('.happyclientslider').flexslider({�
329    directionNav: false,�
330    animation: "fade",�
331    animationLoop: true,�
332    itemWidth: 684,�
333    itemMargin: 0,�
334    minItems: 1,�
335    maxItems: 1�
336  });�
337});�
338�
339// Post Slider�
340// ======================�
341jQuery(window).load(function() {"use strict";�
342  jQuery('.post-slider').flexslider({�
343    controlNav: false,             �
344    directionNav: true,  �
345    animation: "fade",�
346    animationLoop: false,�
347    itemWidth: 805,�
348    itemMargin: 0,�
349    minItems: 1,�
350    maxItems: 1,�
351    prevText: "",�
352    nextText: ""�
353  });�
354});�
355�
356jQuery(window).load(function() {"use strict";�
357    if( jQuery('body').find('.fullcarousel').length>0 ) {�
358    jQuery('.fullcarousel').flexslider({�
359          animation: "slide",�
360          animationLoop: true,�
361          touch: true, �
362          controlNav: false,            �
363          directionNav: false,�
364          itemWidth: 384,�
365          itemMargin: 0,�
366          minItems: 5,�
367          maxItems: 5,�
368          move: 1 �
369    });�
370    }�
371  });�
372�
373jQuery(window).load(function() {"use strict";�
374    if( jQuery('body').find('.fullcarousel').length>0 ) {�
375    jQuery('.fullcarousel2').flexslider({�
376          animation: "slide",�
377          animationLoop: true,�
378          touch: true,�
379          reverse: true, �
380          controlNav: false,            �
381          directionNav: false,�
382          itemWidth: 384,�
383          itemMargin: 0,�
384          minItems: 5,�
385          maxItems: 5,�
386          move: 1 �
387    });�
388    }�
389  });�
390�
391�
392// Parallax Plugin�
393// ======================�
394jQuery(document).ready(function(){"use strict";�
395if ( jQuery( window ).width() > 1024 ) { �
396  jQuery.stellar({�
397    horizontalScrolling: false,�
398    scrollProperty: 'scroll',�
399    positionProperty: 'position',�
400  });�
401}�
402});�
403�
404// Parallax Home Page Slider�
405// ======================�
406jQuery(document).ready(function() {"use strict";�
407  jQuery('.homepage-slider').flexslider({�
408        animation: "swing",�
409        direction: "vertical", �
410        slideshow: true,�
411        slideshowSpeed: 3500,�
412        animationDuration: 1000,�
413        directionNav: false,�
414        controlNav: true,�
415        touch: false�
416  });�
417});�
418�
419// Parallax Home Page Text Size�
420// ======================�
421if( jQuery('body').find('.homepage-slider').length>0 ) {�
422jQuery(".homepage-slider p").fitText(1.8, { maxFontSize: '88px' });�
423}�
424�
425// PORTFOLIO�
426// ======================�
427if( jQuery('body').find('.latest-work-grid').length>0 ) {�
428jQuery(function(jQuery) {"use strict";�
429    var nav=jQuery('.latest-word-grid-container .menu-widget');�
430    var container=jQuery('.latest-work-grid');�
431    container.imagesLoaded( function(){ �
432    container.masonry({�
433    isAnimated: true,�
434    itemSelector:'.latest-work-item:not(.hidden)',�
435    columnWidth: '.grid-sizer',�
436});�
437});�
438    container.masonry();�
439 // Filter for Portfolio�
440    jQuery('.latest-word-grid-container .menu-widget a').click(function(e){�
441        var menuactive = jQuery(this).attr('href');�
442        var category = jQuery(this).attr('href').replace('#','');�
443        nav.find('li').removeClass('active'); /* Portfolio menu remove active */�
444        nav.find('li.slug-'+category).addClass('active');�
445        container.find('.latest-work-item').removeClass('hidden'); �
446        container.find('.latest-work-item:not(.'+category+')').addClass('hidden');�
447�
448        container.masonry({�
449        isAnimated: true,�
450        itemSelector:'.latest-work-item:not(.hidden)',�
451        columnWidth: '.grid-sizer',�
452        });�
453�
454        container.masonry();�
455        container.find('.'+category).show(500);�
456        container.find('.latest-work-item:not(.'+category+')').hide(500);�
457        location.hash = category;�
458        e.preventDefault(); �
459�
460    });�
461�
462    if(location.hash!=''){�
463        jQuery('a[href="'+location.hash+'"]').trigger('click');�
464    }�
465});�
466}�
467�
468// Portfolio Page�
469// Portfolio Style 1�
470// ======================�
471if( jQuery('body').find('.portfolio-1-wrapper').length>0 ) {�
472jQuery(function(jQuery) {"use strict";�
473    var nav=jQuery('.portfolio-style-1-filter');�
474    var container=jQuery('.portfolio-1-wrapper');�
475    container.imagesLoaded( function(){ �
476    container.masonry({�
477    isAnimated: true,�
478    itemSelector:'.portfolio-item:not(.hidden)',�
479    columnWidth: '.grid-sizer',�
480});�
481});�
482    container.masonry();�
483 // Filter for Portfolio�
484    jQuery('.portfolio-style-1-filter a').click(function(e){�
485        var menuactive = jQuery(this).attr('href');�
486        var category = jQuery(this).attr('href').replace('#','');�
487        nav.find('li').removeClass('active'); /* Portfolio menu remove active */�
488        nav.find('li.slug-'+category).addClass('active');�
489        container.find('.portfolio-item').removeClass('hidden'); �
490        container.find('.portfolio-item:not(.'+category+')').addClass('hidden');�
491�
492        container.masonry({�
493        isAnimated: true,�
494        itemSelector:'.portfolio-item:not(.hidden)',�
495        columnWidth: '.grid-sizer',�
496        });�
497�
498        container.masonry();�
499        container.find('.'+category).show(500);�
500        container.find('.portfolio-item:not(.'+category+')').hide(500);�
501        location.hash = category;�
502        e.preventDefault(); �
503�
504    });�
505�
506    if(location.hash!=''){�
507        jQuery('a[href="'+location.hash+'"]').trigger('click');�
508    }�
509});�
510}�
511�
512// Portfolio Style 2�
513// ======================�
514if( jQuery('body').find('.portfolio-2-wrapper').length>0 ) {�
515jQuery(function(jQuery) {"use strict";�
516    var nav=jQuery('.portfolio-style-1-filter');�
517    var container=jQuery('.portfolio-2-wrapper');�
518    container.imagesLoaded( function(){ �
519    container.masonry({�
520    isAnimated: true,�
521    itemSelector:'.portfolio-item-2:not(.hidden)',�
522    columnWidth: '.grid-sizer',�
523    gutter: 15,�
524});�
525});�
526    container.masonry();�
527 // Filter for Portfolio�
528    jQuery('.portfolio-style-1-filter a').click(function(e){�
529        var menuactive = jQuery(this).attr('href');�
530        var category = jQuery(this).attr('href').replace('#','');�
531        nav.find('li').removeClass('active'); /* Portfolio menu remove active */�
532        nav.find('li.slug-'+category).addClass('active');�
533        container.find('.portfolio-item-2').removeClass('hidden'); �
534        container.find('.portfolio-item-2:not(.'+category+')').addClass('hidden');�
535�
536        container.masonry({�
537        isAnimated: true,�
538        itemSelector:'.portfolio-item-2:not(.hidden)',�
539        columnWidth: '.grid-sizer',�
540        });�
541�
542        container.masonry();�
543        container.find('.'+category).show(500);�
544        container.find('.portfolio-item-2:not(.'+category+')').hide(500);�
545        location.hash = category;�
546        e.preventDefault(); �
547�
548    });�
549�
550    if(location.hash!=''){�
551        jQuery('a[href="'+location.hash+'"]').trigger('click');�
552    }�
553});�
554}�
555�
556// Portfolio Style 3�
557// ======================�
558if( jQuery('body').find('.portfolio-3-wrapper').length>0 ) {�
559jQuery(function(jQuery) {"use strict";�
560    var nav=jQuery('.portfolio-style-1-filter');�
561    var container=jQuery('.portfolio-3-wrapper');�
562    container.imagesLoaded( function(){ �
563    container.masonry({�
564    isAnimated: true,�
565    itemSelector:'.portfolio-item-3:not(.hidden)',�
566    columnWidth: '.grid-sizer',�
567    gutter: 30,�
568});�
569});�
570    container.masonry();�
571 // Filter for Portfolio�
572    jQuery('.portfolio-style-1-filter a').click(function(e){�
573        var menuactive = jQuery(this).attr('href');�
574        var category = jQuery(this).attr('href').replace('#','');�
575        nav.find('li').removeClass('active'); /* Portfolio menu remove active */�
576        nav.find('li.slug-'+category).addClass('active');�
577        container.find('.portfolio-item-3').removeClass('hidden'); �
578        container.find('.portfolio-item-3:not(.'+category+')').addClass('hidden');�
579�
580        container.masonry({�
581        isAnimated: true,�
582        itemSelector:'.portfolio-item-3:not(.hidden)',�
583        columnWidth: '.grid-sizer',�
584        });�
585�
586        container.masonry();�
587        container.find('.'+category).show(500);�
588        container.find('.portfolio-item-3:not(.'+category+')').hide(500);�
589        location.hash = category;�
590        e.preventDefault(); �
591�
592    });�
593�
594    if(location.hash!=''){�
595        jQuery('a[href="'+location.hash+'"]').trigger('click');�
596    }�
597});�
598}�
599�
600// BLOG�
601// Style 1�
602// ======================�
603if( jQuery('body').find('.blog-style-1').length>0 ) {�
604jQuery(function(jQuery) {"use strict";�
605    var container=jQuery('.blog-style-1');�
606    container.imagesLoaded( function(){ �
607        container.masonry({�
608        isAnimated: true,�
609        itemSelector:'.blog-item',�
610        columnWidth: '.blog-sizer',�
611        gutter: 29,�
612        isResizable: true�
613    });�
614    });�
615});�
616}�
617�
618// BLOG�
619// Style 3�
620// ======================�
621if( jQuery('body').find('.blog-style-3').length>0 ) {�
622jQuery(function(jQuery) {"use strict";�
623    var container=jQuery('.blog-style-3');�
624    container.imagesLoaded( function(){ �
625        container.masonry({�
626        isAnimated: true,�
627        itemSelector:'.blog-item',�
628        columnWidth: '.blog-sizer',�
629        gutter: 30,�
630        isResizable: true�
631});�
632});�
633}); }�
634�
635// ANIMATION�
636// ======================�
637jQuery(document).ready(function() {"use strict";�
638   var myclasses;�
639   var myclass;�
640   var ekclass;�
641jQuery('.blind').waypoint(function() {�
642   myclasses = this.className;�
643   myclass = myclasses.split(" ");�
644   ekclass = myclass[0].split("-");�
645    if ( ekclass[0] !== "no_animation" && myclass[1] === "blind") {�
646                jQuery(this).addClass('v '+ekclass[0]);�
647                                                   }�
648}, { offset: '70%' });�
649});�
650�
651// ANIMATION SIDEBAR�
652// ======================�
653jQuery(document).ready(function() {"use strict";�
654   var myclasses;�
655   var myclass;�
656   var ekclass;�
657jQuery('.blindy').waypoint(function() {�
658   myclasses = this.className;�
659   myclass = myclasses.split(" ");�
660   ekclass = myclass[0].split("-");�
661    if ( ekclass[0] !== "no_animation" && myclass[1] === "blindy") {�
662                jQuery(this).addClass('v '+ekclass[0]);�
663                                                   }�
664}, { offset: '160%' });�
665});

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.