PageSourceSearch

https://www.forumedia.ru/assets_dev/js/function.js?17198158211505

js forumedia.ru collected 2026-10-04 07:43:21 UTC 1,505 bytes, 58 lines download raw bytes

1$(function(){
2	//открытие меню на мобилке
3	$('#top_nav_btn').click(function(){
4		$('#top_nav_btn, #top_nav').toggleClass('open');
5	});
6	
7	//открытие подменю на мобилке 
8	$('#open_sub_nav').click(function(){
9		$('#sub_menu_nav').toggleClass('open');
10	});
11	
12	//анимация появления
13	$(".be-awesome").boxLoader({
14		direction:"y",
15		position: "80%",
16		effect: "fadeIn",
17		duration: "1.3s",
18		windowarea: "75%"
19	});
20	
21	//положение межстраничной пагинации
22	$(function() {
23		var $e = $("#footer_nav"), e = $e.get(0), offsetTop = 0;
24		if(e)do{
25			offsetTop += e.offsetTop;
26		}while(e = e.offsetParent);
27		$(window).scroll(function(){
28			if($('body').width() > 767){
29				if ($(this).scrollTop() + $(this).height() > offsetTop){
30					$e.addClass("absolute");
31				}
32				else {
33					$e.removeClass("absolute");
34				}
35			}
36			else {
37				if ($(this).scrollTop() + $(this).height() + 150 > offsetTop){
38					$e.addClass("absolute");
39				}
40				else {
41					$e.removeClass("absolute");
42				}
43			}
44		});
45		
46	});
47	/*
48	//открытие картинок и видео
49	$('.prev_link').viewbox();
50	//плавная прокрутка
51	$(".header_nav li a").click(function () {
52      var elementClick = $(this).attr("href");
53      var destination = $(elementClick).offset().top;
54      $('html,body').animate( { scrollTop: destination }, 1100 );
55      return false;
56    });
57	*/
58});

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.