PageSourceSearch

https://rodonews.ru/templates/rodotempl/js/navcontrol.js

js rodonews.ru collected 2026-10-02 10:52:32 UTC 5,530 bytes, 66 lines download raw bytes

1$(document).ready(function() {
2	
3	$(".login").click(function () {
4		$(".login-block-hidden").fadeIn("400");
5		$(".login-block-hidden1").fadeIn("400");
6		$(".login-block-hidden-dark").fadeIn("400");
7	});
8	
9	$(".login-block-hidden-dark, .close").click(function () {
10		$(".login-block-hidden").fadeOut("400");
11		$(".login-block-hidden1").fadeOut("400");
12		$(".login-block-hidden-dark").fadeOut("400");
13		
14	});
15	
16	$('.hidden-menu-block:first').css({'display':'block'});
17	$('.menu-link:first').addClass('activ');
18/*	
19	$('.top-menu-block li').hover(
20		function() {
21		$('.hidden-menu-block').css({'display':'none'});
22		$('.menu-link').removeClass('activ');
23		$(this).find('.hidden-menu-block').css({'display':'block'});
24		$(this).find('.menu-link').addClass('activ');
25	}, function() {
26		
27	});
28*/	
29	$('.comment-block:odd').css({'border':'1px solid #fff1d2', 'background':'#fef6e5'}); //äðóãîé öâåò áëîêà êîììåíòàðèÿ
30	/*10.11.2013 */
31(function($){$(function(){$('div.share42init').each(function(idx){var el=$(this),u=el.attr('data-url'),t=el.attr('data-title'),i=el.attr('data-image'),d=el.attr('data-description'),f=el.attr('data-path'),z=el.attr("data-zero-counter");if(!u)u=location.href;if(!z)z=0;if(!f){function path(name){var sc=document.getElementsByTagName('script'),sr=new RegExp('^(.*/|)('+name+')([#?]|$)');for(var i=0,scL=sc.length;i<scL;i++){var m=String(sc[i].src).match(sr);if(m){if(m[1].match(/^((https?|file)\:\/{2,}|\w:[\/\\])/))return m[1];if(m[1].indexOf("/")==0)return m[1];b=document.getElementsByTagName('base');if(b[0]&&b[0].href)return b[0].href+m[1];else return document.location.pathname.match(/(.*[\/\\])/)[0]+m[1];}}return null;}f=path('share42.js');}if(!t)t=document.title;if(!d){var meta=$('meta[name="description"]').attr('content');if(meta!==undefined)d=meta;else d='';}u=encodeURIComponent(u);t=encodeURIComponent(t);t=t.replace(/\'/g,'%27');i=encodeURIComponent(i);d=encodeURIComponent(d);d=d.replace(/\'/g,'%27');var fbQuery='u='+u;if(i!='null'&&i!='')fbQuery='s=100&p[url]='+u+'&p[title]='+t+'&p[summary]='+d+'&p[images][0]='+i;var vkImage='';if(i!='null'&&i!='')vkImage='&image='+i;var s=new Array('"#" data-count="fb" onclick="window.open(\'http://www.facebook.com/sharer.php?'+fbQuery+'\', \'_blank\', \'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0\');return false" title="Ïîäåëèòüñÿ â Facebook"','"#" onclick="window.open(\'https://plus.google.com/share?url='+u+'\', \'_blank\', \'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0\');return false" title="Ïîäåëèòüñÿ â Google+"','"#" data-count="mail" onclick="window.open(\'http://connect.mail.ru/share?url='+u+'&title='+t+'&description='+d+'&imageurl='+i+'\', \'_blank\', \'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0\');return false" title="Ïîäåëèòüñÿ â Ìîåì Ìèðå@Mail.Ru"','"#" data-count="twi" onclick="window.open(\'https://twitter.com/intent/tweet?text='+t+'&url='+u+'\', \'_blank\', \'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0\');return false" title="Äîáàâèòü â Twitter"','"#" data-count="vk" onclick="window.open(\'http://vk.com/share.php?url='+u+'&title='+t+vkImage+'&description='+d+'\', \'_blank\', \'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0\');return false" title="Ïîäåëèòüñÿ Â Êîíòàêòå"','"#" onclick="window.open(\'http://zakladki.yandex.ru/newlink.xml?url='+u+'&name='+t+'&descr='+d+'\', \'_blank\', \'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=500, toolbar=0, status=0\');return false" title="Äîáàâèòü â ßíäåêñ.Çàêëàäêè"');var l='';for(j=0;j<s.length;j++)l+='<span class="share42-item" style="display:inline-block;margin:0 6px 6px 0;height:32px;"><a rel="nofollow" style="display:inline-block;width:32px;height:32px;margin:0;padding:0;outline:none;background:url('+f+'icons.png) -'+32*j+'px 0 no-repeat" href='+s[j]+' target="_blank"></a></span>';el.html('<span id="share42">'+l+'</span>'+'');})})})(jQuery);
32	
33});
34
35$(function(){
36    $(window).scroll(function() {
37        var top = $(document).scrollTop();
38        if (top < 100) $(".right-col-follow").css({top: '0', position: 'relative'});
39        else $(".right-col-follow").css({top: '0px', position: 'fixed'});
40    });
41});
42
43function show() {
44    document.getElementById('soclink').className = 'soclink';
45    document.getElementById('bonl').className = 'soclink';
46	document.getElementById('socactive').className = 'socactive';
47    document.getElementById('fb').style.display = 'block';
48	document.getElementById('vk').style.display = 'none';
49    document.getElementById('com').style.display = 'none';
50   }
51   function hide() {
52    document.getElementById('socactive').className = 'soclink';
53    document.getElementById('bonl').className = 'soclink';
54	document.getElementById('soclink').className = 'socactive';
55    document.getElementById('vk').style.display = 'block';
56	document.getElementById('fb').style.display = 'none';
57    document.getElementById('com').style.display = 'none';
58   }
59 function comm() {
60    document.getElementById('socactive').className = 'soclink';
61	document.getElementById('soclink').className = 'soclink';
62    document.getElementById('bonl').className = 'socactive';
63    document.getElementById('vk').style.display = 'none';
64	document.getElementById('fb').style.display = 'none';
65    document.getElementById('com').style.display = 'block';
66   }

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.