1/*================================================ 2[ Table of contents ] 3================================================ 4 5 01. jQuery Mobile MeanMenu 6 02. Slider Active 7 03. Counter Up 8 04. Gallery Iostop Active 9 05. Our Team Slick Slider 10 06. Mailchimp Active 11 07. TOP Menu Stick 12 08. Magnific Popup For Video 13 09. scrollUp 14 10. Search 15 11. Testimonial 16 12. Youtube Background Activation 17 13. Tailer Owl Active 18 13. Nice Select 19 14. activation navBar 20 15. Loader 21 22================================================*/ 23 24(function ($) { 25 "use strict"; 26 27// loader 28 29 $(window).on('load', function(){ 30 31 //$('#pageloader-overlay').fadeOut(1000); 32 $('#pageloader-overlay').fadeOut(); 33 34 }) 35 /* 36 $('.myModal').modal("show"); 37$(window).on('load', function(){ 38setTimeout(function() { 39 // $('#pageloader-overlay').fadeOut(8000); 40 $('.myModal').modal("hide"); 41 }, 5500); 42}) */ 43 44 45 46 /*------ 01. jQuery Mobile MeanMenu ------*/ 47 // jQuery('#mobile-nav').meanmenu(); 48 49 /*------ 02. Slider Active ------*/ 50 $('.slider-active').owlCarousel({ 51 items:1, 52 autoplay:true, 53 autoplayTimeout:8000, 54 loop:true, 55 animateOut: 'fadeOut', 56 margin:0, 57 autoHeight:true 58 }); 59 60 61 62 /*------ 05. Our Team Slick Slider ------*/ 63 $('.slider-for').slick({ 64 slidesToShow: 1, 65 slidesToScroll: 1, 66 arrows: false, 67 fade: true, 68 asNavFor: '.slider-nav' 69 }); 70 $('.slider-nav').slick({ 71 slidesToShow: 5, 72 slidesToScroll: 1, 73 asNavFor: '.slider-for', 74 dots: false, 75 centerMode: true, 76 arrows: true, 77 centerPadding: '0px', 78 focusOnSelect: true, 79 prevArrow: '<div class="slick-prev"><i class="fa fa-angle-left" aria-hidden="true"></i></div>', 80 nextArrow: '<div class="slick-next"><i class="fa fa-angle-right" aria-hidden="true"></i></div>' 81 }); 82 83 /*------ 06. Mailchimp Active ------*/ 84 // $('#mc-form').ajaxChimp({ 85 // language: 'en', 86 // callback: mailChimpResponse, 87 // // ADD YOUR MAILCHIMP URL BELOW HERE! 88 // url: 'http://themeshaven.us8.list-manage.com/subscribe/post?u=759ce8a8f4f1037e021ba2922&id=a2452237f8' 89 // }); 90 91 // function mailChimpResponse(resp) { 92 // if (resp.result === 'success') { 93 // $('.mailchimp-success').html('' + resp.msg).fadeIn(900); 94 // $('.mailchimp-error').fadeOut(400); 95 // } 96 // else if(resp.result === 'error') { 97 // $('.mailchimp-error').html('' + resp.msg).fadeIn(900); 98 // } 99 // }; 100 101 /*------ 07. TOP Menu Stick ------*/ 102 /* 103 var wstick = $(window); 104 wstick.on('scroll',function() { 105 var scroll = wstick.scrollTop(); 106 if (scroll < 245) { 107 $("#sticky-header").removeClass("sticky"); 108 }else{ 109 $("#sticky-header").addClass("sticky"); 110 } 111 }); */ 112 113 /*------ 08. Magnific Popup For Video ------*/ 114 /*$('.popup-youtube').magnificPopup({ 115 type: 'iframe', 116 callbacks: { 117 open: function() { 118 // Will fire when this exact popup is opened 119 // this - is Magnific Popup object 120 //alert("open"); 121 pauseAudio(); 122 }, 123 close: function() { 124 // Will fire when popup is closed 125 //alert("close"); 126 127 startAudio(); 128 }, 129 beforeClose: function() { 130 // Callback available since v0.9.0 131 //alert("close"); 132 startAudio(); 133 } 134 // e.t.c. 135 } 136 });*/ 137 138 $('.popup-gallery').magnificPopup({ 139 type: 'image' 140 }); 141 142 /*------ Magnific Popup Gallery ------*/ 143 $('.gallery').each(function() { // the containers for all your galleries 144 $(this).magnificPopup({ 145 // delegate: 'a', // the selector for gallery item 146 type: 'image', 147 gallery: { 148 enabled:true 149 } 150 }); 151 }); 152 153 $('.gimg').magnificPopup({ 154 type: 'image', 155 gallery:{ 156 enabled:true 157 } 158 }); 159 160 /*------ 09. scrollUp ------*/ 161 $.scrollUp({ 162 scrollText: '<i class="fa fa-angle-up"></i>', 163 easingType: 'linear', 164 scrollSpeed: 900, 165 animation: 'fade' 166 }); 167 168 169 /*------ 10. Search ------*/ 170 $('.search-open').on('click', function(){ 171 $('.search-inside').fadeIn(); 172 }); 173 $('.search-close').on('click', function(){ 174 $('.search-inside').fadeOut(); 175 }); 176 177 178 /*------ 11. Testimonial ------*/ 179 /*$('.testimonial-style.testimonial-slider-active').slick({ 180 autoplay: true, 181 autoplaySpeed: 5000, 182 infinite: true, 183 speed: 500, 184 row:2, 185 slidesPerRow:2, 186 fade: true, 187 cssEase: 'ease-in-out', 188 draggable: true, 189 // arrows: true, 190 nextArrow: '<i class="fa fa-angle-left left-arrow"></i>', 191 prevArrow: '<i class="fa fa-angle-right right-arrow"></i>', 192 193 // dots: true, 194 adaptiveHeight: true, 195 });*/ 196 197$('.carousel1').slick({ 198 slidesPerRow:1, 199 slidesToShow:1, 200 swipe:true, 201 rows: 2, 202 cssEase: 'linear', 203 autoplay: true, 204 slidesToScroll: -1, 205 autoplaySpeed: 5000, 206 speed: 600,
207 fadeSpeed: 1000, 208 infinite: true, 209 nextArrow: '<i class="fa fa-angle-left left-arrow"></i>', 210 prevArrow: '<i class="fa fa-angle-right right-arrow"></i>', 211 responsive: [ 212 213 { 214 breakpoint: 600, 215 settings: { 216 rows: 1, 217 slidesPerRow: 1 218 } 219 }, 220 { 221 breakpoint: 480, 222 settings: { 223 rows: 1, 224 slidesPerRow: 1 225 } 226 } 227 // You can unslick at a given breakpoint now by adding: 228 // settings: "unslick" 229 // instead of a settings object 230 ] 231 232 233}); 234 235 236 237$(".slider1").slick({ 238 239 // normal options... 240 infinite: true, 241 autoplay:true, 242 rows:2, 243 244 // the magic 245 responsive: [{ 246 247 breakpoint: 1024, 248 settings: { 249 row:1, 250 slidesToShow: 1, 251 infinite: true 252 } 253 254 }, { 255 256 breakpoint: 600, 257 settings: { 258 row:1, 259 slidesToShow: 1, 260 dots: true 261 } 262 263 }, { 264 265 breakpoint: 300, 266 settings:{ 267 row:1 268 } 269 }] 270}); 271 272/*------ 11. Testimonial ------*/ 273 $('.testimonial-style.testimonial-slider-active1').slick({ 274 row:2, 275 slidesPerRow:2, 276 // arrows: true, 277 nextArrow: '<i class="fa fa-angle-left"></i>', 278 prevArrow: '<i class="fa fa-angle-right"></i>', 279 responsive: [ 280 { 281 breakpoint: 480, 282 settings: { 283 rows: 1 284 } 285 } 286 ] 287 288 // dots: true, 289 }); 290 291 292 293 294
295 /*------ 12. Youtube Background Activation ------*/ 296 if ($('.youtube-bg').length) { 297 $('.youtube-bg').YTPlayer({ 298 containment: '.youtube-bg', 299 autoPlay: true, 300 loop: true, 301 realfullscreen: true, 302 showControls: false, 303 mobileFallbackImage: '../images/bg/11.jpg', 304 }); 305 } 306 307 /*------ 13. movie Owl Active ------*/ 308// 309// $('.movie-active').owlCarousel({ 310// loop: true, 311// margin: 30, 312// autoplay: true, 313// nav: true, 314// dots:false, 315// 316// navText:["<i class='icofont icofont-dotted-left'></i>","<i class='icofont icofont-dotted-right'></i>"], 317// responsive: { 318// 0: { 319// items: 2 320// }, 321// 480:{ 322// items:2 323// }, 324// 600: { 325// items: 2 326// }, 327// 768:{ 328// items:2 329// }, 330// 1000: { 331// items: 5 332// } 333// } 334// }) 335 336 337 338 339 340 /*------ 13. biography Owl Active ------*/ 341 $('.bio-active').owlCarousel({ 342 loop: true, 343 margin: 30, 344 autoplay: true, 345 nav: true, 346 dots:false, 347 navText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"], 348 lazyLoad:true, 349 responsive: { 350 0: { 351 items: 2 352 }, 353 480:{ 354 items:2 355 }, 356 600: { 357 items: 2 358 }, 359 768:{ 360 items:2 361 }, 362 1000: { 363 items: 5 364 } 365 } 366 }) 367 368 /*------ 13. Tailer Owl Active ------*/ 369 $('.movie-active').owlCarousel({ 370 loop: true, 371 margin: 30, 372 autoplay: true, 373 nav: true, 374 dots:false, 375 lazyLoad:true, 376 navText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"], 377 responsive: { 378 0: { 379 items: 2 380 }, 381 480:{ 382 items:2 383 }, 384 600: { 385 items: 2 386 }, 387 768:{ 388 items:2 389 }, 390 1000: { 391 items: 5 392 } 393 } 394 }) 395 396 // $('nav').coreNavigation({ 397 // menuPosition: "bottom", 398 // container: true 399 // }); 400 401 402 403 404 // $(function() { 405 // var $grid = $('#tp-grid'), 406 // $name = $('#name'), 407 // $close = $('#close'), 408 // $loader = $('<div class="loader"><i></i><i></i><i></i><i></i><i></i><i></i><span>Loading...</span></div>').insertBefore($grid), 409 // stapel = $grid.stapel({ 410 // onLoad: function() { 411 // $loader.remove(); 412 // }, 413 // onBeforeOpen: function(pileName) { 414 // $name.html(pileName); 415 // }, 416 // onAfterOpen: function(pileName) { 417 // $close.show(); 418 // } 419 // }); 420 421 // $close.on('click', function() { 422 // $close.hide(); 423 // $name.empty(); 424 // stapel.closePile(); 425 // }); 426 // }); 427 428 429 430/* 431 $(function() { 432 433 // Custom Easing 434 jQuery.scrollSpeed(100, 500, 'easeOutCubic'); 435 436 });*/ 437 438 439 440 441 // readmore 442/* 443 var _gaq = _gaq || []; 444 _gaq.push(['_setAccount', 'UA-36251023-1']); 445 _gaq.push(['_setDomainName', 'jqueryscript.net']); 446 _gaq.push(['_trackPageview']); 447 448 (function() { 449 var ga = document.createElement('script'); 450 ga.type = 'text/javascript'; 451 ga.async = true; 452 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 453 var s = document.getElementsByTagName('script')[0]; 454 s.parentNode.insertBefore(ga, s); 455 })(); 456 457*/ 458 459 // activation navBar 460 461 $(function() { 462 for (var i = window.location, o = $(".main-menu li a").filter(function() { 463 return this.href == i; 464 }).addClass("active").parent().addClass("active"); ;) { 465 if (!o.is("li")) break; 466 o = o.parent().addClass("in").parent().addClass("active"); 467 } 468 }) 469 470 // page loader 471 472 // page loader 473 474 475 476 477 478 479})(jQuery); 480 481 482// https://codepen.io/k-ivan/pen/pJMLmJ/ 483
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.