Subversion Repositories wpShopGermany4

Rev

Rev 6633 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6633 Rev 7486
Line -... Line 1...
-
 
1
function wpsg_loading(selector) {
-
 
2
 
-
 
3
	var jqSel = jQuery(selector);
-
 
4
	
-
 
5
	jqSel.css( {
-
 
6
		'position': 'relative',
-
 
7
		'display': 'block',
-
 
8
		'width': jqSel.width(),
-
 
9
		'height': jqSel.height(true)
-
 
10
	} );
-
 
11
 
-
 
12
	jqSel.append('<div class="ajax_loading"><img class="loading" src="' + wpsg_ajax.img_ajaxloading + '" alt="Bitte warten" /></div>');
-
 
13
	
-
 
14
}
-
 
15
 
-
 
16
function wpsg_loading_done(selector) {
-
 
17
 
-
 
18
	var jqSel = jQuery(selector);
-
 
19
	
-
 
20
	jqSel.find('.ajax_loading').remove();
-
 
21
	
-
 
22
}
-
 
23
 
-
 
24
 
1
wpsg_number_format = function (number, decimals, dec_point, thousands_sep) {
25
wpsg_number_format = function (number, decimals, dec_point, thousands_sep) {
2
 
26
 
3
	var n = !isFinite(+number) ? 0 : + number, prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
27
	var n = !isFinite(+number) ? 0 : + number, prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
4
        sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,        dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
28
        sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,        dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
5
        s = '',
29
        s = '',
Line 206... Line 230...
206
			 
230
			 
207
			jQuery(this).addClass('activated');
231
			jQuery(this).addClass('activated');
208
			
232
			
209
			return false;
233
			return false;
210
			
234
			
211
		} );
235
		} ).css('pointer-events', 'auto');
212
				
236
				
213
	}
237
	}
214
 
238
 
215
	jQuery(document).ready(function() {
239
	jQuery(document).ready(function() {
216
 
240