1(function ($) { 2 'use strict'; 3 4 var browserWindow = $(window); 5 6 // :: 1.0 Preloader Active Code 7 browserWindow.on('load', function () { 8 $('#preloader').fadeOut('slow', function () { 9 $(this).remove(); 10 }); 11 }); 12 13 // :: 2.0 Newsticker Active Code 14 $.simpleTicker($("#breakingNewsTicker"), { 15 speed: 1000, 16 delay: 3000, 17 easing: 'swing', 18 effectType: 'roll' 19 }); 20 $.simpleTicker($("#internationalTicker"), { 21 speed: 1000, 22 delay: 4000, 23 easing: 'swing', 24 effectType: 'roll' 25 }); 26 27 // :: 3.0 Nav Active Code 28 if ($.fn.classyNav) { 29 $('#newspaperNav').classyNav(); 30 } 31 32 // :: 4.0 Gallery Active Code 33 if ($.fn.magnificPopup) { 34 $('.videoPlayer').magnificPopup({ 35 type: 'iframe' 36 }); 37 } 38 39 // :: 5.0 ScrollUp Active Code 40 if ($.fn.scrollUp) { 41 browserWindow.scrollUp({ 42 scrollSpeed: 1500, 43 scrollText: '<i class="fa fa-angle-up"></i>' 44 }); 45 } 46 47 // :: 6.0 CouterUp Active Code 48 if ($.fn.counterUp) { 49 $('.counter').counterUp({ 50 delay: 10, 51 time: 2000 52 }); 53 } 54
55 // :: 7.0 Sticky Active Code 56 if ($.fn.sticky) { 57 $("#stickyMenu").sticky({ 58 topSpacing: 0 59 }); 60 } 61 62 // :: 8.0 wow Active Code 63 if (browserWindow.width() > 767) { 64 new WOW().init(); 65 } 66 67 // :: 9.0 prevent default a click 68 $('a[href="#"]').click(function ($) { 69 $.preventDefault() 70 }); 71 72});
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.