1jQuery(function($){ 2 3 "use strict"; 4 5 $(document).scroll(function() { 6 7 if ($(window).width() > 940) { 8 9 var y = $(this).scrollTop(); 10 if (y > 250) { 11 $('.menu-mobile').fadeIn(); 12 $('.top_search_wrap').css('left','95px'); 13 } else { 14 $('.menu-mobile').fadeOut(); 15 $('.top_search_wrap').css('left','0'); 16 } 17 18 } 19 }); 20 // Menu 21 $('.menu_wrap .menu').slicknav({ 22 prependTo:'.menu-mobile', 23 label:'Menu' 24 }); 25 26 // Bxslider 27 $('.bxslider').bxSlider({ 28 adaptiveHeight: true, 29 mode: 'fade', 30 pager: false, 31 captions: true 32 }); 33 34 $('.bxslider_featured').bxSlider({ 35 mode: 'horizontal', 36 pager: false, 37 auto: true, 38 pause: 7000, 39 onSliderLoad: function(){ 40 $(".slide_overlay").css("visibility", "visible"); 41 } 42 }); 43 44 // Fitvids 45 $(document).ready(function(){ 46 // Target your .container, .wrapper, .post, etc. 47 $(".container").fitVids(); 48 }); 49 50 // Scroll to top 51 52 $('.to-top').click(function(){ 53 $('html, body').animate({scrollTop : 0},800); 54 return false; 55 }); 56 57 // Widget categories list with featured image 58 if ($(".widget .list_cat_with_img li").length){ 59 $(".widget .list_cat_with_img li").click(function() { 60 window.location = $(this).find("a").attr("href"); 61 return false; 62 }); 63 } 64 65 $('.btnPinIt').click(function() { 66 var url = $(this).attr('href'); 67 var media = $(this).attr('data-image'); 68 var desc = $(this).attr('data-desc'); 69 window.open("//www.pinterest.com/pin/create/button/"+ 70 "?url="+url+ 71 "&media="+media+ 72 "&description="+desc,"_blank"); 73 return false; 74 }); 75 76 $('.owl-carousel').owlCarousel({ 77 loop:true, 78 autoplay: true, 79 margin: 10, 80 nav:false, 81 responsiveClass:true, 82 responsive:{ 83 0: { 84 items: 1 85 }, 86 480:{ 87 items:2 88 }, 89 940:{ 90 items:3 91 } 92 } 93 }) 94}); 95 96
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.