PageSourceSearch

https://golmozg.ru/wp-content/themes/golmozg/js/functions.js

js golmozg.ru collected 2026-10-04 23:10:25 UTC 1,234 bytes, 41 lines download raw bytes

1jQuery( document ).ready(function( $ ) {
2    
3    // mobile menu
4
5	$('div.menu-toggle').click(function() {
6		$('body').addClass('menu-active');
7	});
8	$('div.menu-overlay').click(function() {
9		$('body').removeClass('menu-active');
10	});
11	
12	
13		$('#slide-out-open').click(function() {
14		$('body').removeClass('menu-active');
15	});
16
17	
18
19	
20    
21    var this_hr = location.href;
22    if(this_hr.indexOf("#") > -1){
23        this_hr = this_hr.substring(0,this_hr.indexOf("#"));
24    }
25    for(var i = 0;i<=$("a").size();i++){
26        this_el=$("a:eq("+i+")");
27    //    console.log(this_el.attr("href")+"  "+this_hr+"\n");
28        if((this_el.attr("href") == this_hr)||(this_el.attr("href")+"/" == this_hr)){
29            this_el.attr("href","#");
30            this_el.css({"cursor":"default","text-decoration":"none"});
31        }  
32    }
33    
34    var count_home_posts = $("body.home .content .column.left article * img").size();
35    if(count_home_posts > 0){
36        for(var i =0;i<=count_home_posts;i++){
37            $("body.home .content .column.left article:eq("+i+")").css("padding-top",$("body.home .content .column.left article:eq("+i+") * img").height()+"px");   
38        }      
39    }
40    $("#page > header").width($(document).width());
41})

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.