PageSourceSearch

http://colory.ru/scripts.js

js colory.ru collected 2026-10-02 13:23:51 UTC 1,470 bytes, 65 lines download raw bytes

1function openSearcBox(evt)
2{
3	document.getElementById('searchBox').style.top = (evt.clientY + 5) + 'px';
4	document.getElementById('searchBox').style.left = (evt.clientX - 250) + 'px';
5	$('#searchBox').fadeIn('fast');
6}
7
8
9
10function openSiteMap(evt)
11{
12
13if (document.getElementById('SiteMap1').innerHTML == '')
14{
15            var obj = $(this);
16            $.ajax({
17                url: SiteMapControlURL,
18                data: "{ }",
19                contentType: "application/json; charset=utf-8",
20                type: 'post',
21                success: function (result) {
22                    console.log('ajax', obj.html());
23			document.getElementById('SiteMap1').innerHTML = result.d;
24
25                }
26            });
27}
28
29	document.getElementById('siteMapDiv').style.top = (evt.clientY + 5) + 'px';
30	document.getElementById('siteMapDiv').style.left = (evt.clientX - 450) + 'px';
31	$('#siteMapDiv').fadeIn('fast');
32}
33
34
35
36function hideSiteMap()
37{
38	$('#siteMapDiv').fadeOut('fast');
39}
40
41 
42
43
44function hideSearcBox()
45{
46	$('#searchBox').fadeOut('fast');
47}
48
49
50
51$(document).ready(function()
52{
53      $('#searchBox').hover(function() {
54         $('#searchBox').fadeIn('fast');
55      }, function() {
56         setTimeout("hideSearcBox()", 500);
57      });
58
59
60      $('#siteMapDiv').hover(function() {
61         $('#siteMapDiv').fadeIn('fast');
62      }, function() {
63         setTimeout("hideSiteMap()", 500);
64      });
65});

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.