PageSourceSearch

https://www.dargez-shop.ru/js/media.js

js dargez-shop.ru collected 2026-09-26 12:33:48 UTC 1,657 bytes, 55 lines download raw bytes

1$(window).load(function(){
2	if($(window).width() < 1200){
3		$('#js_menu').show(100);
4	}
5});
6
7$(document).ready(function () {
8
9  var tablet = $(window).width() < 1200;
10	
11
12  $('.main-menu > ul > li > a').each(function() {
13    if(tablet && $(this).next('ul').length > 0) {
14      $(this).addClass('menu-drop-link');
15      $(this).append('<div class="menu-drop-link_open"></div>');
16    }
17  });
18
19  $('#inside-menu1 > li > a').each(function() {
20    if(tablet && $(this).next('ul').length > 0) {
21      $(this).addClass('menu-drop-link');
22    }
23  });
24
25  $('a.header__burger').click(function () {
26      $('.header__bot').toggleClass('show');
27      $(this).toggleClass('selected');
28      return false;
29  });
30
31  $('a.menu-drop-link .menu-drop-link_open').click(function () {
32      if($(this).parent().hasClass('selected')) {
33          //location.href = $(this).attr('href'); return;
34          $(this).parent().next('ul').removeClass('open');
35          $(this).parent().removeClass('selected');
36      } else {
37          $('a.menu-drop-link').removeClass('selected');
38          $('.main-menu ul ul, #inside-menu1 ul ul').removeClass('open');
39          $(this).parent().next('ul').addClass('open');
40          $(this).parent().addClass('selected');
41      }        
42      return false;
43  });
44
45  $('.main_filter-title_text').click(function () {
46    $('.main_filter-drop').toggleClass('show');
47    $(this).toggleClass('selected');
48    return false;
49  });
50
51  $('.description_tabs-select').change(function() {
52    var selectName = $(this).find('option:selected').attr('class');
53    $('.description_tabs .ui-tabs-nav').find('a[href=' + '#' + selectName + ']').click();
54  });
55});

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.