PageSourceSearch

http://oknovknr.ru/t/v1107/images/scripts/scripts.js

js oknovknr.ru collected 2026-09-30 03:00:14 UTC 3,058 bytes, 112 lines download raw bytes

1$(function () {
2
3  $('input[placeholder], textarea[placeholder]').placeholder();
4
5  $('.main_page .log_in_wr').addClass('open');
6  var logMy = $('.log_in_tit');
7  var logPar = logMy.parent();
8  var logUp = $('.log_in_body'); 
9  logMy.not('.main_page .log_in_tit').click(function() {
10    if(logPar.hasClass('open')) {
11      if(!logUp.is(':animated')) {
12        logPar.removeClass('open');
13        logUp.slideUp(300);
14      }      
15    }
16    else {
17      logPar.addClass('open'); 
18      logUp.slideDown(300);
19    }
20  });
21  
22  (function () {
23      if($('.sl .slides').length > 1){
24        slider = $('.sl').bxSlider({
25          pager:false,
26          mode:'fade',
27          auto: true,
28          nextSelector: '.sl_navs_right',
29          prevSelector: '.sl_navs_left',
30          onSliderLoad: function(currentIndex){
31             $('.text_bodys .text_body').eq(0).fadeIn(0).siblings('.text_bodys .text_body').fadeOut(0);
32           },
33          onSlideBefore: function(newIndex){
34            $('.text_bodys .text_body').eq(slider.getCurrentSlide()).fadeIn(500).siblings('.text_body').fadeOut(0);
35          }
36        });
37      }  
38  })();
39
40
41  (function () {
42  	  	var slideWidthNew = $('.el_products_slider_ozi_wr').width() / 2 ; 
43    if($('.el_products_slider_ozi_wr_inn .el_products_slider_ozi').length > 2){
44
45      $('.el_products_slider_prev').css('display', 'block');
46      $('.el_products_slider_next').css('display', 'block');
47
48      slider2 = $('.el_products_slider_ozi_wr_inn').bxSlider({
49        pager:false,
50        auto: true,
51        minSlides: 2,
52        maxSlides: 2,
53        slideWidth: slideWidthNew,
54        slideMargin: 19,
55        nextSelector: '.el_products_slider_next',
56        prevSelector: '.el_products_slider_prev',
57      });
58    }  
59  })();
60
61
62  $('.kategor_parent').equalHeightInRow();
63
64
65});          
66
67$(function() {
68
69    $('.s3-menu-allin').s3MenuAllIn({
70        type: 'bottom',
71    });    
72    
73}); 
74$(function() {
75  var overlay = $('.modal-overlay'),
76    popup   = $('.modal-popup'),
77    close   = $('.modal-close'),
78    title   = popup.find('.modal-title');
79    text    = popup.find('.modal-text');
80
81  close.add(overlay).click(function() {
82    overlay.hide();
83    popup.hide();
84  });
85
86  $('.post-more .post-more-butt').click(function(){
87    $(this).next().slideToggle(400);
88  })
89
90  $('svg path').click(function() {
91
92    var $this   = $(this);
93
94    title.html($this.prev().text());
95    text.load($(this).data('url') + '?region=1');
96
97    popup.width(700);
98    popup.css('left', $(window).width() / 2 - 350);
99
100    overlay.show();
101    popup.show();
102    if (popup.height() > $(window).height()) {
103      /*popup.css('top', $(window).scrollTop() + 20);*/
104    } else {
105      /*popup.css('top', ($(window).height() / 2 - popup.height() / 2) + $(window).scrollTop());*/
106    }
107  });
108    
109  /*$('#form_my').s3IncludeForm('/napishite-nam','comment', function(){
110        $('.wr_form_write_us').css({'display':'block'});
111  });*/  
112})

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.