1(function($) { 2 function TransformButtonSliderTextBelow() { 3 $(".SliderTextBelow,.SliderText") 4 .find("a") 5 .addClass("btn btn-big"); 6 } 7 8 var sliderWithLateralBar; 9 function AdjustSidebarHeight() { 10 slider = sliderWithLateralBar.find(".home-slider"); 11 tabs = sliderWithLateralBar.find(".uk-tab"); 12 13 var sliderH = slider.height(); 14 15 if (sliderH > 100) { 16 tabs 17 .parent() 18 .css("max-height", sliderH) 19 .css("overflow-y", "scroll"); 20 } 21 } 22 23 // Document ready 24 $(function() { 25 TransformButtonSliderTextBelow(); 26 27 sliderWithLateralBar = $(".SliderWithLateralBar"); 28 29 if (sliderWithLateralBar.length) { 30 AdjustSidebarHeight(); 31 32 $("#banners, .banners").bind("flexsliderInit", function() { 33 AdjustSidebarHeight(); 34 }); 35 36 $(window).on("resize", function() { 37 AdjustSidebarHeight(); 38 }); 39 } 40 }); 41})(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.