PageSourceSearch

https://oohlalove.com.tw/js/goods.js

js oohlalove.com.tw collected 2026-10-07 20:49:33 UTC 3,824 bytes, 192 lines download raw bytes

1var last_menu=$('#news');
2$(document).ready(function() {
3
4menu_current($('#news'))
5
6
7  $(".logo").mousedown(function(e) {    
8      go_target(0,$( "#news" ));  
9     // alert(1);  
10  });
11  $(".i1").mousedown(function(e) {    
12      go_target(0,$( "#news" ));  
13     // alert(1);  
14  });
15   $(".ib1").mousedown(function(e) {    
16      go_target(0,$( "#news" ));  
17     // alert(1);  
18  });
19  
20
21  $("#news").mousedown(function(e) {    
22      go_target(0,$( "#news" ));  
23       
24  }); 
25
26
27  $("#brand").mousedown(function(e) {    
28      go_target($('#section1'),$( "#brand" )); 
29
30  }); 
31
32
33  $("#go_love").mousedown(function(e) {    
34      go_target($('#section1'),$( "#brand" )); 
35
36  }); 
37
38  $("#package").mousedown(function(e) {    
39      go_target($('#section3'),$( "#package" ));    
40  }); 
41
42  $("#desserts").mousedown(function(e) {    
43      go_target($('#section5'),$( "#desserts" ));    
44  }); 
45
46  
47  $("#go_taste").mousedown(function(e) {    
48      go_target($('#section6'),$( "#taste" ));    
49  }); 
50  $("#taste").mousedown(function(e) {    
51      go_target($('#section6'),$( "#taste" ));    
52  }); 
53
54  
55  
56   
57
58  
59
60
61});
62
63function go_target(_section,_menu){
64 // $('#menu-toggle').mousedown();    
65   last_menu_back(last_menu);
66    $(window).stop().scrollTo( _section , 700 ,{offset:0});     
67   menu_current(_menu);    
68   last_menu=_menu;
69}     
70
71
72
73function last_menu_back(_obj){
74
75  _obj.find('.first_menu').removeClass('current');
76 
77}
78function menu_current(_obj){
79
80  _obj.find('.first_menu').addClass('current');
81 //alert(_obj.attr('id'));
82}
83
84
85
86$('#slogan').waypoint({
87      handler: function(direction) {      
88      last_menu_back(last_menu);     
89      menu_current($( "#news" ));    
90      last_menu=$( "#news" );
91      
92      }
93}); 
94 $('#slogan').waypoint(function() { 
95      last_menu_back(last_menu);     
96      menu_current($( "#news" ));    
97      last_menu=$( "#news" );
98   
99  }, {
100    offset: function() {
101    return -$(this).height()+150;
102    }
103  });
104
105$('#section1').waypoint({
106      handler: function(direction) {      
107        
108      last_menu_back(last_menu);     
109      menu_current($( "#brand" ));    
110      last_menu=$( "#brand" );
111      
112      },
113      offset: '50'
114});  
115 
116 $('#section1').waypoint(function() { 
117      last_menu_back(last_menu);     
118      menu_current($( "#brand" ));    
119      last_menu=$( "#brand" );
120   
121  }, {
122    offset: function() {
123    return -$(this).height()+150;
124    }
125  });
126
127$('#section3').waypoint({
128      handler: function(direction) {      
129        
130      last_menu_back(last_menu);     
131      menu_current($( "#package" ));    
132      last_menu=$( "#package" );
133      
134      },
135      offset: '50'
136});  
137 $('#section3').waypoint(function() { 
138      last_menu_back(last_menu);     
139      menu_current($( "#package" ));    
140      last_menu=$( "#package" );
141   
142  }, {
143    offset: function() {
144    return -$(this).height()+150;
145    }
146  });
147
148
149$('#section5').waypoint({
150      handler: function(direction) {      
151        
152      last_menu_back(last_menu);     
153      menu_current($( "#desserts" ));    
154      last_menu=$( "#desserts" );
155      
156      },
157      offset: '50'
158});  
159 $('#section5').waypoint(function() { 
160      last_menu_back(last_menu);     
161      menu_current($( "#desserts" ));    
162      last_menu=$( "#desserts" );
163   
164  }, {
165    offset: function() {
166    return -$(this).height()+150;
167    }
168  });
169
170
171$('#section6').waypoint({
172      handler: function(direction) {      
173        
174      last_menu_back(last_menu);     
175      menu_current($( "#taste" ));    
176      last_menu=$( "#taste" );
177      
178      },
179      offset: '50'
180});  
181 $('#section5').waypoint(function() { 
182      last_menu_back(last_menu);     
183      menu_current($( "#taste" ));    
184      last_menu=$( "#taste" );
185   
186  }, {
187    offset: function() {
188    return -$(this).height()+150;
189    }
190  });
191
192

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.