PageSourceSearch

https://art-novator.ru/sites/all/themes/site/js/scripts.js

js art-novator.ru collected 2026-09-27 02:59:30 UTC 1,767 bytes, 62 lines download raw bytes

1(function($) {
2$(function() {
3  $('#call').click(function() {
4    $.fancybox.showActivity();
5    $.get(Drupal.settings.basePath + 'zakazat-obratnyy-zvonok', function(data) {
6      var form = $('#webform-client-form-1', data);
7      $.fancybox({content:form});
8    });
9    return false;
10  });
11   $('.fancy').fancybox();
12  $('.node-type-product #page-title').insertAfter('.galleryformatter');
13  $('.node-type-product #category').insertBefore('#page-title');
14  $('#block-webform-client-block-7').insertAfter('.c-cont-wrapper');
15   $('#cpager').insertAfter('.view-taxonomy-term');
16  //$('.page-taxonomy-term-1 #page-title').html('Оригинальная доска для магнитов – изюминка вашего интерьера');
17  
18  $('a.colorbox').colorbox ({
19  scalePhotos:false,
20  width:'900px'
21  });
22  
23	$("a.p1, a.qp1").click(function () {
24	$(".dp1, .qdp1").toggle("fast");
25	});  
26
27	$("a.p2, a.qp2").click(function () {
28	$(".dp2, .qdp2").toggle("fast");
29	});	
30	$("a.p3, a.qp3").click(function () {
31	$(".dp3, .qdp3").toggle("fast");
32	});	
33    
34	$('.form-item-attributes-2 label').append(' (ВxШ)');
35	
36	$.fn.inputDefualts = function(options) {
37		var defaults = {
38 			cl: 'inactive', 
39 			text: this.val()  
40  		}, 	opts = $.extend(defaults, options);	
41  		this.addClass(opts['cl']); 
42  		this.val(opts['text']);		
43  		this.focus(function() {
44  			if($(this).val() == opts['text']) $(this).val(''); 
45  			$(this).removeClass(opts['cl']); 
46  		});	
47  		this.blur(function() {
48  			if($(this).val() == '') {
49  				$(this).val(opts['text']); 		
50  				$(this).addClass(opts['cl']); 
51  			}
52  		});
53	};
54	
55	$(document).ready(function() {
56	$('#block-search-form .form-text').inputDefualts({
57		cl: 'inactive',
58		text: 'поиск...'
59	});
60});
61});
62}(jQuery));

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.