1$(function(){ 2 "use strict"; 3 4 var main = $("#main_column"); 5 6 // recommend 7 var recommend = $("#recommend"); 8 if(recommend.length > 0){ 9 recommend.each(function(){ 10 var ul = $(this).find("ul"); 11 if(ul.children().length <= 3){ 12 recommend.find(".slide").css({ 13 paddingBottom: 0, 14 paddingTop: 0, 15 }); 16 recommend.find("li:last-child").css({ 17 borderBottom:'none', 18 paddingBottom: 0, 19 }); 20 } 21 if(ul.children().length > 3){ 22 recommend.find("ul").bxSlider({ 23 mode: 'vertical', 24 pager: false, 25 prevText:"", 26 nextText:"", 27 minSlides: 3, 28 maxSlides: 3, 29 moveSlides: 1, 30 slideMargin: 10, 31 auto : true 32 }); 33 } 34 }); 35 } 36 37 // submit 38 main.find(".changeOrder select").change(function(){ 39 main.find("form").submit(); 40 }); 41});
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.