1(function () { 2 var burger = document.querySelector('.burger-container'), 3 header = document.querySelector('.header-1'); 4 5 burger.onclick = function () { 6 header.classList.toggle('menu-opened'); 7 } 8}()); 9 10 11/*global $, jQuery, alert*/ 12(function ($) { 13 "use strict"; 14 function heroContentSlider() { 15 var heroContSlider = $('.hero-content-slider'), 16 autoplay = heroContSlider.data('autoplay'), 17 autoplaySpeed = heroContSlider.data('speed'); 18 if ($(window).width() > 992) { 19 heroContSlider.owlCarousel({ 20 animateOut: 'bounceOut', 21 animateIn: 'bounceIn', 22 autoplay: autoplay, 23 autoplayTimeout: autoplaySpeed, 24 items: 1, 25 dots: false, 26 mouseDrag: false, 27 touchDrag: false, 28 loop: true 29 }); 30 } else { 31 heroContSlider.owlCarousel({ 32 autoplay: false, 33 items: 1, 34 dots: false, 35 mouseDrag: true, 36 touchDrag: true, 37 loop: true, 38 autoHeight: true 39 }); 40 } 41 } 42 function heroContentSliderFade() { 43 $('.hero-content-slider').css({ 'opacity': '1' }) 44 } 45 46 function heroSliderOwl() { 47 var heroOwlSlider = $(".hero-slider"), 48 autoplay = heroOwlSlider.data('autoplay'), 49 autoplaySpeed = heroOwlSlider.data('speed'), 50 touchSlide = heroOwlSlider.data('touch-drag'); 51 heroOwlSlider.owlCarousel({ 52 autoplay: autoplay, 53 autoplayTimeout: autoplaySpeed, 54 items: 1, 55 mouseDrag: touchSlide, 56 touchDrag: touchSlide, 57 dots: false, 58 nav: true, 59 navSpeed: 500, 60 loop: true, 61 autoHeight: true, 62 navText: ["<img src='" + siteRoot + "img/assets/slider-left-thin-arrow.png'>", "<img src='" + siteRoot + "img/assets/slider-right-thin-arrow.png'>"] 63 }); 64 if ($('.hero-fullscreen>div').hasClass('hero-slider')) { 65 $('.hero-fullscreen').css({ 'padding': '0' }); 66 } 67 } 68 69 function sliderOwl() { 70 var owlSlider = $(".carousel"), 71 autoplay = owlSlider.data('autoplay'), 72 autoplaySpeed = owlSlider.data('speed'), 73 touchSlide = owlSlider.data('touch-drag'), 74 loopSlides = owlSlider.data('loop'); 75 owlSlider.owlCarousel({ 76 autoplay: autoplay, 77 autoplayTimeout: autoplaySpeed, 78 items: 1, 79 mouseDrag: touchSlide, 80 touchDrag: touchSlide, 81 dots: true, 82 nav: true, 83 loop: loopSlides, 84 autoHeight: true, 85 navText: ["<img src='" + siteRoot + "img/assets/slider-left-thin-arrow.png'>", "<img src='" + siteRoot + "img/assets/slider-right-thin-arrow.png'>"], 86 navRewind: true, 87 slideBy: 'page' 88 }); 89 } 90 91 function progressBars() { 92 function progressBar() { 93 $('.progress').each(function () { 94 $(this).find('.progress-bar').animate({ 95 width: $(this).attr('data-percent') 96 }, 800); 97 }); 98 } 99 if ($('.progress-bars').data('animate-on-scroll') === 'on') { 100 $('.progress-bars').waypoint(function () { 101 progressBar(); 102 }, { offset: '100%', triggerOnce: true }); 103 } else { 104 progressBar(); 105 } 106 } 107 108 function progressCircles() { 109 function progressCircle() { 110 var totalProgress, progress, circles; 111 circles = document.querySelectorAll('.progress-svg'); 112 for (var i = 0; i < circles.length; i++) { 113 totalProgress = circles[i].querySelector('circle').getAttribute('stroke-dasharray'); 114 progress = circles[i].parentElement.getAttribute('data-circle-percent'); 115 circles[i].querySelector('.bar').style['stroke-dashoffset'] = totalProgress * progress / 100; 116 } 117 }; 118 if ($('.progress-circles').data('animate-on-scroll') === 'on') { 119 $('.progress-circle').waypoint(function () { 120 progressCircle(); 121 }, { 122 offset: '70%', 123 triggerOnce: true 124 }); 125 } else { 126 progressCircle(); 127 }; 128 } 129 130 function vossenIframes() { 131 132 133 134 135 136 137 $('.video-container').click(function () { 138 139 $(this).addClass('reveal'); 140 141 142 var videoImg = $(this).find('img') 143 videoImg.animate({ 'opacity': 0 }, 300); 144 145 146 var videoIframe = $(this).find('iframe'); 147 148 videoIframe.addClass('visible'); 149 play(); 150 151 152 // videoIframe = $(this).find('iframe'), 153 154 // videoAttr = videoIframe.attr('data-video-embed'), 155 156 157 // videoPlay = videoAttr + "?autoplay=1&rel=0"; 158 159 //videoIframe.css('visibility', 'visible').attr('src', videoPlay); 160 ////videoIframe[0].setAttribute('allowFullScreen', ''); 161 }); 162 } 163 164 function teamSlider() { 165 $(".team-slider").owlCarousel({ 166 autoplay: false, 167 items: 3, 168 dots: true, 169 responsiveRefreshRate: 200, 170 responsive: { 171 0: { 172 items: 1 173 }, 174 600: { 175 items: 2 176 }, 177 1200: { 178 items: 3 179 } 180 } 181 }); 182 } 183 184 function quoteSlider() { 185 var quoteOwl = $('.quote-slider'); 186 quoteOwl.owlCarousel({ 187 autoplay: false, 188 autoplayTimeout: 3000, 189 items: 1, 190 dots: true, 191 loop: true, 192 nav: true, 193 navText: ["<img src='" + siteRoot + "Content/images/arrow-l.svg'> Ø§ÙØªØ§ÙÙ", " Ø§ÙØ³Ø§Ø¨Ù <img src='" + siteRoot + "Content/images/arrow-r.svg'>"] 194 }); 195 } 196 197 function vossenPortfolio() { 198 var vosPortfolio = $('.vossen-portfolio'), 199 initFilter = $('.vossen-portfolio-filters'), 200 vossenFilters = $('.vossen-portfolio-filters li'), 201 portfolioItems = $('.vossen-portfolio > div'), 202 initialCat; 203 204 // Init Filter to class except *all 205 initFilter.each(function () { 206 var dataOption = $(this).attr('data-initial-filter'); 207 $(this).attr('data-initial-filter', '.' + dataOption); 208 if ($(initFilter).data('initial-filter') === '.*') { 209 $(this).attr('data-initial-filter', '*'); 210 } 211 }); 212 // Filters data to class except first 213 vossenFilters.not(':first').each(function () { 214 var dataOption = $(this).attr('data-filter'); 215 $(this).attr('data-filter', "." + dataOption); 216 }); 217 // Items data to class 218 portfolioItems.each(function () { 219 var dataOption = $(this).attr('data-filter'); 220 $(this).addClass(dataOption); 221 }); 222 // Animate Items 223 portfolioItems.waypoint(function () { 224 portfolioItems.each(function (i) { 225 var eachItem = $(this); 226 setTimeout(function () { eachItem.addClass('reveal'); }, (i * 3) * 60); 227 }); 228 }, { offset: '100%', triggerOnce: true }); 229 initialCat = $('.vossen-portfolio-filters').attr('data-initial-filter'); 230 // Add active class to filter 231 $('.vossen-portfolio-filters li[data-filter="' + initialCat + '"]').addClass('active'); 232 // Init Isotope Filters 233 vossenFilters.on('click', function () { 234 $('.vossen-portfolio-filters li.active').removeClass('active'); 235 $(this).addClass('active'); 236 var filterValue = $(this).attr('data-filter'); 237 vosPortfolio.isotope({ 238 filter: filterValue 239 }); 240 }); 241 // Init Isotope 242 var $grid = vosPortfolio.isotope({ 243 itemSelector: '.vossen-portfolio > div', 244 percentPosition: true, 245 filter: initialCat, 246 masonry: { 247 columnWidth: '.vossen-portfolio > div' 248 } 249 }); 250 $grid.imagesLoaded().progress(function () { 251 $grid.isotope('layout'); 252 }); 253 } 254 255 $(window).resize(function () { 256 setTimeout(function () { 257 $('.vossen-portfolio-filters .active').trigger('click'); 258 }, 600); 259 }); 260 261 function vossenPortfolio2() { 262
263 var vosPortfolio = $('.portfolio-grid'), 264 initFilter = $('.portfolio-filters'), 265 vossenFilters = $('.portfolio-filters li'), 266 portfolioItems = $('.work-item'), 267 initialCat; 268 269 // Init Filter to class except *all 270 initFilter.each(function () { 271 var dataOption = $(this).attr('data-initial-filter'); 272 $(this).attr('data-initial-filter', '.' + dataOption); 273 if ($(initFilter).data('initial-filter') === '.*') { 274 $(this).attr('data-initial-filter', '*'); 275 } 276 }); 277 // Filters data to class except first 278 vossenFilters.not(':first').each(function () { 279 var dataOption = $(this).attr('data-filter'); 280 $(this).attr('data-filter', "." + dataOption); 281 }); 282 // Items data to class 283 portfolioItems.each(function () { 284 var dataOption = $(this).attr('data-filter'); 285 $(this).addClass(dataOption); 286 }); 287 288 // Add active class to filter 289 $('.portfolio-filters li[data-filter="' + initialCat + '"]').addClass('active'); 290 291 // Init Isotope Filters 292 vossenFilters.on('click', function () { 293 $('.portfolio-filters li.active').removeClass('active'); 294 $(this).addClass('active'); 295 var filterValue = $(this).attr('data-filter'); 296 vosPortfolio.isotope({ 297 filter: filterValue 298 }); 299 }); 300 301 302 var worksgrid = $('#works-grid'), 303 filters = $('.portfolio-filters'); 304 305 $(window).on('resize', function () { 306 307 var windowWidth = Math.max($(window).width(), window.innerWidth), 308 itemWidht = $('.grid-sizer').width(), 309 itemHeight = Math.floor(itemWidht * 0.95), 310 itemTallHeight = itemHeight * 2; 311 312 if (windowWidth > 500) { 313 $('.work-item', worksgrid).each(function () { 314 if ($(this).hasClass('tall')) { 315 $(this).css({ 316 height: itemTallHeight 317 }); 318 } else if ($(this).hasClass('wide')) { 319 $(this).css({ 320 height: itemHeight 321 }); 322 } else if ($(this).hasClass('wide-tall')) { 323 $(this).css({ 324 height: itemTallHeight 325 }); 326 } else { 327 $(this).css({ 328 height: itemHeight 329 }); 330 } 331 }); 332 } else { 333 $('.work-item', worksgrid).each(function () { 334 if ($(this).hasClass('tall')) { 335 $(this).css({ 336 height: itemTallHeight 337 }); 338 } else if ($(this).hasClass('wide')) { 339 $(this).css({ 340 height: itemHeight / 2 341 }); 342 } else if ($(this).hasClass('wide-tall')) { 343 $(this).css({ 344 height: itemHeight 345 }); 346 } else { 347 $(this).css({ 348 height: itemHeight 349 }); 350 } 351 }); 352 } 353 354 worksgrid.imagesLoaded(function () { 355 worksgrid.isotope({ 356 layoutMode: 'packery', 357 itemSelector: '.work-item', 358 transitionDuration: '0.3s', 359 packery: { 360 columnWidth: '.grid-sizer', 361 }, 362 }); 363 }); 364 365 }).resize(); 366 367 // Reveal Items 368 worksgrid.isotope({}).imagesLoaded().progress(function () { 369 vosPortfolio.addClass('reveal'); 370 }); 371 372 } 373 374 function vossenPortfolioAjax() { 375 376 var pageNumber = 0, 377 workNumberToload = 5; 378 379 var doneText = 'No More Works', 380 loadText = 'Show More', 381 loadingText = 'Loading...', 382 errorText = 'Error! --- This feature will work only when site is on the server ---'; 383 384 $('#show-more').on('click', function () { 385 $(this).text(loadingText); 386 387 setTimeout(function () { 388 ajaxLoad(workNumberToload, pageNumber); 389 }, 300); 390 391 pageNumber++; 392 return false;
393 }); 394 395 396 function ajaxLoad(workNumberToload, pageNumber) { 397 var $loadButton = $('#show-more'); 398 var dataString = 'numPosts=' + workNumberToload + '&pageNumber=' + pageNumber; 399 400 $.ajax({ 401 type: 'GET', 402 data: dataString, 403 dataType: 'html', 404 url: $('.vossen-portfolio, .works-grid').data('more-items-location'), 405 success: function (data) { 406 var $data = $(data); 407 var start_index = (pageNumber - 1) * workNumberToload; 408 var end_index = + start_index + workNumberToload; 409 410 if ($data.find('.vossen-portfolio > div, .work-item').slice(start_index).length) { 411 var work = $data.find('.vossen-portfolio > div, .work-item').slice(start_index, end_index).addClass('reveal'); 412 413 $('.vossen-portfolio, .works-grid').append(work).isotope('appended', work).resize(); 414 415 setTimeout(function () { 416 $loadButton.text(loadText); 417 }, 300); 418 419 } else { 420 setTimeout(function () { 421 $loadButton.text(doneText); 422 }, 300); 423 424 setTimeout(function () { 425 $("#show-more").animate({ 426 opacity: 0 427 }, 400).css({ "cursor": "default" }); 428 }, 1500); 429 } 430 }, 431 432 error: function (jqXHR, textStatus, errorThrown) { 433 console.log(jqXHR + " :: " + textStatus + " :: " + errorThrown); 434 435 setTimeout(function () { 436 $loadButton.removeClass('ss-loading'); 437 $loadButton.text(errorText); 438 }, 300); 439 440 } 441 }); 442 } 443 } 444 445 function testimonialSlider() { 446 var testimonialsOwl = $('.testimonials'), 447 autoplay = testimonialsOwl.data('autoplay'), 448 autoplaySpeed = testimonialsOwl.data('speed'); 449 testimonialsOwl.owlCarousel({ 450 autoplay: autoplay, 451 autoplayTimeout: autoplaySpeed, 452 autoplaySpeed: 700, 453 loop: true, 454 items: 1, 455 dots: true, 456 dotsSpeed: 400 457 }); 458 } 459 460 function clientsSlider() { 461 var clientSlider = $(".clients-slider"), 462 autoplay = clientSlider.data('autoplay'), 463 autoplaySpeed = clientSlider.data('speed'); 464 clientSlider.owlCarousel({ 465 autoplay: autoplay, 466 autoplayTimeout: autoplaySpeed, 467 loop: false, 468 dots: false, 469 nav: false, 470 responsiveRefreshRate: 200, 471 responsive: { 472 0: { 473 items: 2 474 }, 475 600: { 476 items: 5 477 }, 478 1200: { 479 items: 6 480 } 481 } 482 }); 483 } 484 485 function contactForm() { 486 $('#contactform').submit(function () { 487 var action = 'php/contact-form.php'; 488 $("#message-info").slideUp(250, function () { 489 $('#message-info').hide(); 490 $('#submit') 491 .after('<div class="loader"><div></div></div>') 492 .attr('disabled', 'disabled'); 493 $.post(action, { 494 name: $('#name').val(), 495 email: $('#email').val(), 496 phone: $('#phone').val(), 497 message: $('#message').val() 498 }, 499 function (data) { 500 document.getElementById('message-info').innerHTML = data; 501 $('#message-info').slideDown(250); 502 $('#contactform .loader div').fadeOut('slow', function () { 503 $(this).remove(); 504 }); 505 $('#submit').removeAttr('disabled'); 506 if (data.match('success') !== null) { 507 $('#contactform').slideUp(850, 'easeInOutExpo'); 508 } 509 }); 510 }); 511 return false;
512 }); 513 } 514 515 function subscribeForm() { 516 $('#subscribe-form,#subscribe-form-2').on('submit', function (e) { 517 e.preventDefault(); 518 var $el = $(this), 519 $alert = $el.find('.form-validation'), 520 $submit = $el.find('button'), 521 action = $el.attr('action'); 522 $submit.button('loading'); 523 $alert.removeClass('alert-danger alert-success'); 524 $alert.html(''); 525 $.ajax({ 526 type: 'POST', 527 url: action, 528 data: $el.serialize() + '&ajax=1', 529 dataType: 'JSON', 530 success: function (response) { 531 if (response.status === 'error') { 532 $alert.html(response.message); 533 $alert.addClass('alert-danger').fadeIn(500); 534 } else { 535 $el.trigger('reset'); 536 $alert.html(response.message); 537 $alert.addClass('alert-success').fadeIn(500); 538 } 539 $submit.button('reset'); 540 } 541 }); 542 }); 543 } 544 545 function vosMap() { 546 $('#vossen-map').waypoint(function () { 547 initVossenMaps() 548 }, { offset: '100%', triggerOnce: true }); 549 } 550 551 function vossenHeader() { 552 $('.nav li.dropdown>a, .dropdown-submenu>a').on('click', function () { 553 $(this).closest('.dropdown').siblings().removeClass('open'); 554 $(this).closest('.dropdown').toggleClass('open'); 555 return false; 556 }); 557 $('.nav li a, .btn-scroll').on('click', function () { 558 var $anchor = $(this); 559 function scrollToAnchor() { 560 $('html, body').stop().animate({ 561 scrollTop: $($anchor.attr('href')).offset().top - offsetVar 562 }, 1000, 'easeInOutExpo'); 563 event.preventDefault(); 564 } 565 if ($(window).width() > 992) { 566 var offsetVar = '59'; 567 scrollToAnchor(); 568 } else { 569 var offsetVar = '0'; 570 scrollToAnchor(); 571 } 572 }); 573 function navSmall() { 574 $(window).scroll(function () { 575 if ($(window).scrollTop() > 70) { 576 $('nav').addClass("nav-small"); 577 } else { 578 $('nav').removeClass("nav-small"); 579 } 580 }); 581 } 582 if ($('nav').data('animation') === 'hiding') { 583 var vosWindow = $(window); 584 var navPosition = vosWindow.scrollTop(); 585 vosWindow.scroll(function () { 586 if (vosWindow.scrollTop() > navPosition) { 587 $('nav').removeClass('nav-down').addClass('nav-up'); 588 } else { 589 $('nav').removeClass('nav-up').addClass('nav-down'); 590 } 591 navPosition = vosWindow.scrollTop(); 592 }); 593 navSmall(); 594 } else { 595 navSmall(); 596 } 597 $('.scroll-top').on('click', function () { 598 $('html, body').stop().animate({ scrollTop: 0 }, 2000, 'easeInOutExpo'); 599 return false; 600 }); 601 function elementsAnchor() { 602 var hash = window.location.hash; 603 if (hash != '') { 604 setTimeout(function () { 605 $('html, body').stop().animate({ 606 scrollTop: $(hash).offset().top - 59 607 }, 1000, 'easeInOutExpo'); 608 history.pushState('', document.title, window.location.pathname); 609 }, 500); 610 } 611 } elementsAnchor(); 612 } 613 614 function bootstrapTools() { 615 $('#accordion,#accordion2').on('show.bs.collapse', function () { 616 $('#accordion .in').collapse('hide'); 617 }); 618 $("[data-toggle='tooltip']").tooltip(); 619 $('#buttonTabs a,#iconTabs a').click(function (e) { 620 e.preventDefault(); 621 $(this).tab('show'); 622 }); 623 } 624 625 function twitterFeedSlider() { 626 if ($('#twitter-feed-slider').length) { 627 var twitterUser, twitterNumber, twitterFeedSlider; 628 twitterUser = $('#twitter-feed-slider').attr('data-twitter-widget-id'); 629 twitterNumber = $('#twitter-feed-slider').attr('data-max-tweets'); 630 twitterFeedSlider = { 631 "id": twitterUser, 632 "domId": 'twitter-feed-slider', 633 "maxTweets": twitterNumber, 634 "enableLinks": true, 635 "showImages": false 636 }; 637 twitterFetcher.fetch(twitterFeedSlider); 638 } 639 } 640 641 function twitterFeedSliderInit() { 642 if ($('#twitter-feed-slider').length) { 643 $('#twitter-feed-slider ul').addClass('twitter-feed-slider navigation-thin'); 644 var twitterAutoSpeed = $('#twitter-feed-slider').attr('data-sli
644der-speed'); 645 $('.twitter-feed-slider').owlCarousel({ 646 autoplay: true, 647 autoplayTimeout: twitterAutoSpeed, 648 items: 1, 649 dots: false, 650 mouseDrag: true, 651 touchDrag: true, 652 loop: true 653 }); 654 } 655 } 656 657 function twitterFeedList() { 658 if ($('#twitter-feed-list').length) { 659 var twitterUser, twitterNumber, twitterFeedList; 660 twitterUser = $('#twitter-feed-list').attr('data-twitter-widget-id'); 661 twitterNumber = $('#twitter-feed-list').attr('data-max-tweets'); 662 twitterFeedList = { 663 "id": twitterUser, 664 "domId": 'twitter-feed-list', 665 "maxTweets": twitterNumber, 666 "enableLinks": true, 667 "showImages": false 668 }; 669 twitterFetcher.fetch(twitterFeedList); 670 } 671 } 672 673 function countUp() { 674 $('#fun-facts').waypoint(function () { 675 $('.counter h1').each(function () { 676 var $this = $(this), 677 countTo = $this.attr('data-count'); 678 $({ countNum: $this.text() }).animate({ 679 countNum: countTo 680 }, { 681 duration: 1700, 682 easing: 'linear', 683 step: function () { 684 $this.text(Math.floor(this.countNum)); 685 }, 686 complete: function () { 687 $this.text(this.countNum); 688 //alert('finished'); 689 } 690 }); 691 }); 692 }, { offset: '100%', triggerOnce: true }); 693 } 694 695 function countdown() { 696 var dateUser = $("#countdown-timer").attr('data-date'), 697 deadline = new Date(dateUser); 698 function updateClock() { 699 var today = Date(), 700 diff = Date.parse(deadline) - Date.parse(today); 701 if (diff <= 0) { 702 clearInterval(interval); 703 } else { 704 var seconds = Math.floor((diff / 1000) % 60), 705 minutes = Math.floor((diff / 1000 / 60) % 60), 706 hours = Math.floor((diff / 1000 / 60 / 60) % 24), 707 days = Math.floor(diff / (1000 * 60 * 60 * 24) % 30.5), 708 months = Math.floor(diff / (1000 * 60 * 60 * 24 * 30.5) % 12); 709 $("#months").text(('0' + months).slice(-2)); 710 $("#days").text(('0' + days).slice(-2)); 711 $("#hours").text(('0' + hours).slice(-2)); 712 $("#minutes").text(('0' + minutes).slice(-2)); 713 $("#seconds").text(('0' + seconds).slice(-2)); 714 } 715 } 716 var interval = setInterval(updateClock, 1000); 717 } 718 719 function vossenBlogGrid() { 720 var vosPortfolio = $('.vossen-blog-grid'), 721 portfolioItems = $('.vossen-blog-grid > div'); 722 portfolioItems.each(function () { 723 var dataOption = $(this).attr('data-filter'); 724 $(this).addClass(dataOption); 725 }); 726 portfolioItems.waypoint(function () { 727 portfolioItems.each(function (i) { 728 var eachItem = $(this); 729 setTimeout(function () { eachItem.addClass('reveal'); }, (i * 3) * 60); 730 }); 731 }, { offset: '100%', triggerOnce: true }); 732 vosPortfolio.isotope({ 733 itemSelector: '.vossen-blog-grid > div', 734 percentPosition: true, 735 masonry: { 736 columnWidth: '.vossen-blog-grid > div' 737 } 738 }); 739 // Init Isotope 740 var $bloggrid = vosPortfolio.isotope({ 741 itemSelector: '.vossen-blog-grid > div', 742 percentPosition: true, 743 masonry: { 744 columnWidth: '.vossen-blog-grid > div' 745 } 746 }); 747 $bloggrid.imagesLoaded().progress(function () { 748 $bloggrid.isotope('layout'); 749 }); 750 } 751 752 function lightbox() { 753 $('.lightbox').magnificPopup({ 754 delegate: 'a', 755 type: 'image', 756 gallery: { 757 enabled: true, 758 arrowMarkup: '<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"><img src="' + siteRoot + 'img/assets/slider-left-thin-arrow.png"></button>', 759 }, 760 mainClass: 'mfp-zoom-in', 761 removalDelay: 500, //delay removal to allow out-animation 762 callbacks: { 763 beforeOpen: function () { 764 this.st.image.markup = this.st.image.markup.replace('mfp-figure', 'mfp-figure mfp-with-anim'); 765 } 766 }, 767 closeMarkup: '<button title="%title%" type="button" class="mfp-close"></button>', 768 midClick: true 769 }); 770 } 771 772 $(document).ready(function () { 773 $.when(heroContentSlider()).then(heroContentSliderFade()); 774 heroSliderOwl(); 775 progressBars(); 776 progressCircles(); 777 teamSlider(); 778 countUp(); 779 vossenIframes(); 780 quoteSlider(); 781 parallaxVossen(); 782 vossenPortfolio(); 783 vossenPortfolio2(); 784 vossenPortfolioAjax(); 785 testimonialSlider(); 786 clientsSlider(); 787 contactForm(); 788 subscribeForm(); 789 vosMap(); 790 sliderOwl(); 791 vossenHeader(); 792 bootstrapTools(); 793 twitterFeedSlider(); 794 twitterFeedList(); 795 countdown(); 796 vossenBlogGrid(); 797 lightbox(); 798 }); 799 800 $(window).on('load', function () { 801 twitterFeedSliderInit(); 802 }); 803 804 $(window).on('scroll', function () { 805 806 }); 807 808}(jQuery)); 809 810 811 812 813
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.