PageSourceSearch

https://shop.thangka-art.com/js/scripts.js

js thangka-art.com collected 2026-10-03 00:21:54 UTC 2,652 bytes, 76 lines download raw bytes

1
2	$(".amount .plus").click(function() {
3    	var size = $(this).closest(".amount").find("input").val()*1;
4    	$(this).closest(".amount").find("input").val(size+1);
5    	$(this).closest('form').find('input').change();
6    });
7    
8    
9        $(".amount .minus").click(function() {
10    	var size = $(this).closest(".amount").find("input").val()*1;
11    	if (size < 1) {
12    		$(this).closest(".amount").find("input").val(size);
13    	}
14    	else {
15    		$(this).closest(".amount").find("input").val(size-1);
16    	}
17    	$(this).closest('form').find('input').change();
18    });
19    
20
21
22
23$(".rslides").responsiveSlides({
24  auto: true,             // Boolean: Animate automatically, true or false
25  speed: 500,            // Integer: Speed of the transition, in milliseconds
26  timeout: 4000,          // Integer: Time between slide transitions, in milliseconds
27  pager: true,           // Boolean: Show pager, true or false
28  nav: false,             // Boolean: Show navigation, true or false
29  random: false,          // Boolean: Randomize the order of the slides, true or false
30  pause: false,           // Boolean: Pause on hover, true or false
31  pauseControls: true,    // Boolean: Pause when hovering controls, true or false
32  prevText: "Previous",   // String: Text for the "previous" button
33  nextText: "Next",       // String: Text for the "next" button
34  maxwidth: "",           // Integer: Max-width of the slideshow, in pixels
35  navContainer: "",       // Selector: Where controls should be appended to, default is after the 'ul'
36  manualControls: "",     // Selector: Declare custom pager navigation
37  namespace: "rslides",   // String: Change the default namespace used
38  before: function(){},   // Function: Before callback
39  after: function(){}     // Function: After callback
40});
41
42 $(document).ready(function () {
43     var $hid = $('#hid'),
44         $butopen = $('.butopen');
45     $('#butShowHide').click(function () {
46         $hid.finish();
47         var vis = $hid.is(":visible"),
48             text = vis ? 'читать далее' : 'скрыть';
49         $butopen.text(text);
50         $hid.slideToggle("medium");
51         return false;
52     });
53 });
54
55
56
57  // MOBILE MENU
58$(function(){
59  var t = $(".header-mobile-menu-icon"),
60        e = $(".main-menu-wrap"),
61        i = $(".main-menu-hidden"),
62        n = $(".main-menu-wrap a"),
63        bd = $('body');
64    t.click(function(t) {
65        e.toggleClass("menu_active"),
66        bd.toggleClass('selected-body');
67    }), i.click(function(t) {
68        e.removeClass("menu_active"),
69        bd.removeClass('selected-body');
70    });
71});
72
73
74$('.fotorama').fotorama({
75  thumbborderwidth:1,
76});

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.