PageSourceSearch

https://legkovmeste.ru/wp-content/themes/modxblog/js/slidepanel.js

js legkovmeste.ru collected 2026-09-29 09:30:18 UTC 1,217 bytes, 37 lines download raw bytes

1(function($) {
2$('#toggle').toggle( 
3    function() {
4        $('#popout').animate({ left: 0 }, 'slow', function() {
5            $('#toggle').html('<img src="https://legkovmeste.ru/wp-content/themes/modxblog/images/close.png" alt="close" />');
6        });
7    }, 
8    function() {
9        $('#popout').animate({ left: -250 }, 'slow', function() {
10            $('#toggle').html('<img src="https://legkovmeste.ru/wp-content/themes/modxblog/images/menu.png" alt="show" />');
11        });
12    }
13);
14$(document).mouseup(function (e) {
15    var container = $(".mobile-menu");
16    if (container.has(e.target).length === 0){
17             $('#popout').animate({ left: -270 }, 'slow', function() {
18            $('#toggle').html('<img src="https://legkovmeste.ru/wp-content/themes/modxblog/images/menu.png" alt="show" />');
19        });
20    }
21});
22// Свернуть/показать sub-menu
23    $(".menu > .menu-item-has-children > a").click(function (e) {
24    	e.preventDefault();
25    	
26    	var menu = $(this).closest('.menu');
27    	
28    	if (false == $(this).next().is(':visible')) {
29    		menu.find('li').removeClass('active');
30    		menu.find('ul').slideUp();
31    	}
32    	$(this).next().slideToggle();
33    });
34})(jQuery);
35
36
37

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.