1//左崿åºè³¼ç©å表 2//è³¼ç©è» 3$(document).ready(function() { 4 $('[id="left-menu"]').each(function(idx, obj) { 5 $(obj).sidr({ 6 name: 'sidr-left', 7 onOpen: function() { 8 shoppingListReload(); 9 }, 10 side: 'left' // By default 11 }); 12 }); 13 14 $('#left-menu2').sidr({ 15 name: 'sidr-left', 16 onOpen: function() { 17 shoppingListReload(); 18 }, 19 side: 'left' // By default 20 }); 21 22 $('#right-menu').sidr({ 23 name: 'sidr-right', 24 onOpen: function() { 25 shoppingListReload(); 26 }, 27 side: 'right' 28 }); 29}); 30 31 32//è³¼ç©å表æ¶å 33$(document).ready(function(){ 34 $(".shopping-list-wrapper").hide(); 35 $(".shopping-list-more").click(function(){ 36 $(".shopping-list-wrapper").slideToggle("20"); 37 $(this).css("transform","180deg"); 38 }); 39}); 40 41//è³¼ç©è»æç´°é -è¦æ ¼ 42$(function(){ 43 $(".specs li").click(function(){ 44 $(".specs li").removeClass("current"); 45 $(this).addClass("current"); 46 }); 47}); 48 49 50//購買æ¸é墿¸æ¨¡çµ 51 $('.qtyInputBox .input-group-append').click(function(){ 52 var qty = $('.qtyInputBox input').val(); 53 qty = parseInt(qty) + 1; 54 $('.qtyInputBox input').val(qty); 55 }); 56 $('.qtyInputBox .input-group-prepend').click(function(){ 57 var qty = $('.qtyInputBox input').val(); 58 if (qty<2){ 59 $('.qtyInputBox input').val(1); 60 } else { 61 qty = qty - 1; 62 $('.qtyInputBox input').val(qty); 63 } 64 }); 65
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.