PageSourceSearch

https://toshiba-rf.ru/bitrix/templates/aspro-lite/js/custom.js?17189144355880

js toshiba-rf.ru collected 2026-10-08 15:27:17 UTC 5,880 bytes, 189 lines download raw bytes

1/*
2You can use this file with your scripts.
3It will not be overwritten when you upgrade solution.
4*/
5
6$(function() {
7  var cookievideo = $.cookie("video");
8  if(cookievideo){
9    $('.blockVideo').hide();
10  }
11
12  $(document).on("click",".blockVideo .close",function() {
13      $('.blockVideo').fadeOut();
14      $('.title-v1.index').fadeOut();
15      $('#headerfixed').fadeIn().addClass('fixed');
16      $('html, body').animate({
17          scrollTop: $(".main.banner-auto").offset().top
18      }, 1000);
19      $.cookie("video", 1, { expires : 10 });
20  });
21
22   $("#arrow-down").click(function() {
23       $('html, body').animate({
24           scrollTop: $(".container").offset().top
25       }, 1000);
26   });
27
28   // $(".cons .flexbox #POPUP_NAME").attr("placeholder", "Ваше имя");
29   // $(".cons .flexbox #POPUP_PHONE").attr("placeholder", "Ваш телефон *");
30   setTimeout(function(){
31      $("#soa-property-1, #soa-property-2, #soa-property-3").val('');
32   }, 200);
33
34
35
36
37
38   $("#one_click_buy_id_FIO").attr("placeholder", "Ваше имя *");
39   $("#one_click_buy_id_PHONE").attr("placeholder", "Ваш телефон *");
40   $("#one_click_buy_id_EMAIL").attr("placeholder", "Ваш Email");
41   $("#one_click_buy_id_COMMENT").attr("placeholder", "Комментарий");
42
43
44   // $("#soa-property-1").attr("placeholder", "Ваше имя *");
45   // $("#soa-property-2").attr("placeholder", "Ваш Email");
46   // $("#soa-property-3").attr("placeholder", "Ваш телефон *");
47   // $("#soa-property-7").attr("placeholder", "Адрес доставки");
48   // $("#orderDescription").attr("placeholder", "Комментарий");
49   // $("#soa-property-42").attr("placeholder", "Ваш ИНН");
50
51
52     $( "#bx-soa-order .soa-property-container input, #bx-soa-order .soa-property-container textarea, .form-group.bx-soa-customer-field textarea" ).on( "focus", function() {
53       $(this).parents('.form-group').find('label').animate({
54         top: "1",
55         fontSize: "11"
56       }, 200, function() {
57         // Animation complete.
58       });
59     });
60
61     $( '#bx-soa-order input[type="text"]' ).on( "focus", function() {
62       $(this).parents('.form-group').find('label').animate({
63         top: "1",
64         fontSize: "11"
65       }, 200, function() {
66         // Animation complete.
67       });
68     });
69
70     // $(document).on("click",".bx-soa-pp-company",function() {
71     //   $('#bx-soa-order input[type="text"]').each(function() {
72     //     $('#bx-soa-order input[type="text"]').parents('.form-group').find('label').animate({
73     //       top: "1",
74     //       fontSize: "11"
75     //     }, 200, function() {
76     //       // Animation complete.
77     //     });
78     //   });
79     // });
80
81
82     $( ".cons input[type=text], .cons input[type=tel]" ).on( "focus", function() {
83       $(this).css({'padding-top':'15px'});
84       $(this).parents('.form-group').find('label').animate({
85         top: "1",
86         fontSize: "11"
87       }, 200, function() {
88         // Animation complete.
89       });
90     });
91
92     $( ".cons input[type=text], .cons input[type=tel]" ).on( "focusout", function() {
93       var test = $(this).val();
94       if(!test){
95         $(this).parents('.form-group').find('label').animate({
96           top: "15",
97           fontSize: "14"
98         }, 200, function() {
99           // Animation complete.
100         });
101       }
102       if($('.input.error').lenght>1){
103          //alert('test');
104       }
105
106     });
107
108     // $( "#POPUP_PHONE, #POPUP_NAME" ).on( "focus", function() {
109     $(document).on("focus","#POPUP_PHONE, #POPUP_NAME, #POPUP_EMAIL, #POPUP_CLIENT_NAME",function() {
110       //$(this).css({'padding-top':'15px'});
111       $(this).parents('.form-group').find('label').animate({
112         top: "1",
113         fontSize: "11"
114       }, 200, function() {
115         // Animation complete.
116       });
117     });
118
119     //$( "#POPUP_PHONE, #POPUP_NAME" ).on( "focusout", function() {
120     $(document).on("focusout","#POPUP_PHONE, #POPUP_NAME, #POPUP_EMAIL, #POPUP_CLIENT_NAME",function() {
121       var test = $(this).val();
122       if(!test){
123         $(this).parents('.form-group').find('label').animate({
124           top: "15",
125           fontSize: "14"
126         }, 200, function() {
127           // Animation complete.
128         });
129       }
130       if($('.input.error').lenght>1){
131          //alert('test');
132       }
133
134     });
135
136		$(document).ready(function() {
137			if ($(".popup.jqm-init").hasClass("show")) {
138				var emailValue = $("#POPUP_EMAIL").val();
139				if (emailValue && emailValue.trim() !== "") {
140					$(".input").addClass("input-filed");
141				}
142			}
143		});
144
145
146     $( "#bx-soa-order .soa-property-container input, #bx-soa-order .soa-property-container textarea, .form-group.bx-soa-customer-field textarea" ).on( "focusout", function() {
147       var test = $(this).val();
148
149       if(!test){
150         $(this).parents('.form-group').find('label').animate({
151           top: "15",
152           fontSize: "14"
153         }, 200, function() {
154           // Animation complete.
155         });
156       }
157     });
158
159  $('#soa-property-2').val();
160
161  $("#formRegion").on("click",function() {
162    $('.jqmOverlay.double').fadeIn();
163  	$('#bx-soa-region').fadeIn();
164  });
165  $(".doubleClose").on("click",function() {
166   $('.jqmOverlay.double').fadeOut();
167   $('#bx-soa-region').fadeOut();
168  });
169
170
171  $(".catalog-block__info-inner .pd__stats-item")
172    .on( "mouseenter", function() {
173      $(this).find(".pd__stats-text").show();
174    })
175    .on( "mouseleave", function() {
176      $( ".pd__stats-text").hide();
177    });
178
179
180    $(".btnClick").on('click', function () {
181         $(".phones__callback").trigger('click');
182    });
183
184
185
186
187  $('.cons .title.switcher-title').text('Любая консультация по разработке проекта и монтажу кондиционеров в квартирах и офисах - бесплатно!');
188
189});

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.