PageSourceSearch

https://csmouse.com/templates/Default/js/libs.js

js csmouse.com collected 2026-09-24 09:34:47 UTC 1,993 bytes, 74 lines download raw bytes

1var logopened=false;
2var auth_window;
3
4$(document).ready(function(){
5    $('#logbtn').click(function(){
6        if(logopened)
7        {
8            $('#logform').hide('fast');
9            $('#logbtn').removeClass('selected');
10        }    
11        else
12        {
13            $('#logform').show('fast');
14            $('#logbtn').addClass('selected');
15        }
16        logopened=!logopened;
17        return false;
18    });
19}).click(function(e){
20    if(!logopened)
21        return;
22    e=e||window.event;
23    var target=e.target||e.srcElement;
24    while(target)
25    {
26        if(target==$('#logform').get(0))
27            return;
28        target=target.parentNode;
29    }
30    $('#logform').hide('fast');
31    $('#logbtn').removeClass('selected');
32    logopened=false;    
33});
34
35$(document).ready(function(){
36		$('#topmenu li.sublnk').hover(
37		function() {
38			$(this).addClass("selected");
39			$(this).find('ul').stop(true, true);
40			$(this).find('ul').show('fast');
41		},
42		function() {
43			$(this).find('ul').hide('fast');
44			$(this).removeClass("selected");
45		}
46	);
47});
48
49$(document).ready(function(){
50	var tabContainers = $('#news-arch .tabcont');
51		tabContainers.hide().filter(':first').show();
52								
53		$('#news-arch .tabmenu a').click(function () {
54			tabContainers.hide();
55			tabContainers.filter(this.hash).show();
56			$('#news-arch .tabmenu a').removeClass('selected');
57			$(this).addClass('selected');
58			return false;
59		}).filter(':first').click();
60});
61
62
63$(document).ready(function(){
64	$('.sociallogin a').on('click',function(){
65	   var href = $(this).attr('href');
66       var width  = 820;
67       var height = 420;
68       var left   = (screen.width  - width)/2;
69       var top   = (screen.height - height)/2-100;   
70
71       auth_window = window.open(href, 'auth_window', "width="+width+",height="+height+",top="+top+",left="+left+"menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
72       return false;
73	})
74});

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.