1(function ($) { 2 "use strict"; 3 4/*-------------------------- 5preloader 6---------------------------- */ 7 8 var pre_loader = $('#preloader') 9 pre_loader.fadeOut('slow',function(){$(this).remove();}); 10 11 12/*--------------------- 13 venobox 14--------------------- */ 15 var veno_box = $('.venobox'); 16 veno_box.venobox(); 17 18/*------------------------------------ 19 search option 20------------------------------------- */ 21 $('.search-option').hide(); 22 $(".main-search").on('click', function(){ 23 $('.search-option').animate({ 24 height:'toggle', 25 }); 26 }); 27/*--------------------- 28 TOP Menu Stick 29--------------------- */ 30var windows = $(window); 31var sticky = $('#sticker'); 32 33windows.on('scroll', function() { 34 var scroll = windows.scrollTop(); 35 if (scroll < 100) { 36 sticky.removeClass('stick'); 37 }else{ 38 sticky.addClass('stick'); 39 } 40}); 41/*---------------------------- 42 jQuery MeanMenu 43------------------------------ */ 44 var mean_menu = $('nav#dropdown'); 45 mean_menu.meanmenu(); 46 47/*-------------------------- 48 scrollUp 49---------------------------- */ 50 $.scrollUp({ 51 scrollText: '<i class="fa fa-angle-up"></i>', 52 easingType: 'linear', 53 scrollSpeed: 900, 54 animation: 'fade' 55 }); 56 57/*-------------------------- 58 collapse 59---------------------------- */ 60 var panel_test = $('.panel-heading a'); 61 panel_test.on('click', function(){ 62 panel_test.removeClass('active'); 63 $(this).addClass('active'); 64 }); 65 66/*-------------------------- 67 MagnificPopup 68---------------------------- */ 69 $('.video-play').magnificPopup({ 70 type: 'iframe' 71 }); 72 73/*-------------------------- 74 slider carousel 75---------------------------- */ 76 77$(window).on("load",function() { 78 var intro_carousel = $('.intro-carousel'); 79 intro_carousel.owlCarousel({ 80 loop:true, 81 nav:true, 82 autoplay:true, 83 dots:false, 84 navText: ["<i class='icon icon-chevron-left'></i>","<i class='icon icon-chevron-right'></i>"], 85 responsive:{ 86 0:{ 87 items:1 88 }, 89 600:{ 90 items:1 91 }, 92 1000:{ 93 items:1 94 } 95 } 96 }); 97}); 98 99/*-------------------------- 100 Services carousel 101---------------------------- */ 102 var services_carousel = $('.services-carousel'); 103 services_carousel.owlCarousel({ 104 loop:true, 105 nav:true, 106 autoplay:true, 107 dots:false, 108 navText: ["<i class='icon icon-chevron-left'></i>","<i class='icon icon-chevron-right'></i>"], 109 responsive:{ 110 0:{ 111 items:1 112 }, 113 700:{ 114 items:3 115 }, 116 1000:{ 117 items:3 118 } 119 } 120 }); 121/*---------------------------- 122 isotope active 123------------------------------ */ 124 // project start 125 $(window).on("load",function() { 126 var $container = $('.project-content'); 127 $container.isotope({ 128 filter: '*', 129 animationOptions: { 130 duration: 750, 131 easing: 'linear', 132 queue: false 133 } 134 }); 135 $('.project-menu li a').on("click", function() { 136 $('.project-menu li a.active').removeClass('active'); 137 $(this).addClass('active'); 138 var selector = $(this).attr('data-filter'); 139 $container.isotope({ 140 filter: selector, 141 animationOptions: { 142 duration: 750, 143 easing: 'linear', 144 queue: false 145 } 146 }); 147 return false; 148 }); 149 150 }); 151 //portfolio end 152 153/*--------------------- 154 Testimonial carousel 155---------------------*/ 156 var review = $('.testimonial-carousel'); 157 review.owlCarousel({ 158 loop:true, 159 nav:true, 160 margin:40, 161 dots:false, 162 autoplay:true, 163 navText: ["<i class='icon icon-chevron-left'></i>","<i class='icon icon-chevron-right'></i>"], 164 responsive:{ 165 0:{ 166 items:1 167 }, 168 768:{ 169 items:2 170 }, 171 1000:{ 172 items:3 173 } 174 } 175 }); 176/*-------------------------- 177 Game details carousel 178---------------------------- */
179 var game_carousel = $('.game-carousel'); 180 game_carousel.owlCarousel({ 181 loop:true, 182 nav:true, 183 autoplay:true, 184 dots:false, 185 navText: ["<i class='icon icon-chevron-left'></i>","<i class='icon icon-chevron-right'></i>"], 186 responsive:{ 187 0:{ 188 items:1 189 }, 190 700:{ 191 items:2 192 }, 193 1000:{ 194 items:3 195 } 196 } 197 }); 198 199 jQuery( ".image_background" ).each(function() { 200 var attr = $(this).attr('data-image-src'); 201 202 if (typeof attr !== typeof undefined && attr !== false) { 203 $(this).css('background-image', 'url('+attr+')'); 204 } 205 206 }); 207 208})(jQuery);
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.