PageSourceSearch

https://www.feerie.com.tw/data/10030/js/main.js

js feerie.com.tw collected 2026-10-07 01:03:14 UTC 1,533 bytes, 65 lines download raw bytes

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.