PageSourceSearch

https://ilmutotoshaolin.com/js/tooltip_static.js

js ilmutotoshaolin.com collected 2026-09-29 06:26:07 UTC 2,466 bytes, 64 lines download raw bytes

1var offsetfromcursorX=1
2var offsetfromcursorY=1
3var offsetdivfrompointerX=1
4var offsetdivfrompointerY=1
5document.write('<div id="dhtmltooltip"></div>')
6document.write('<img id="dhtmlpointer" src="//media.dinomarket.com/system/img/arrow2.gif" width="1" height="1">')
7var ie=document.all
8var ns6=document.getElementById && !document.all
9var enabletip=false
10if (ie||ns6)
11var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
12var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""
13function ietruebody(){
14return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
15}
16function ddrivetip(thetext, thewidth, thecolor){
17if (ns6||ie){
18if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
19if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
20tipobj.innerHTML=thetext
21enabletip=true
22return false
23}
24}
25function positiontip(e){
26if (enabletip){
27var nondefaultpos=false
28var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
29var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
30var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-1
31var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-1
32var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
33var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY
34var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -50
35if (rightedge<tipobj.offsetWidth){
36tipobj.style.left=curX-tipobj.offsetWidth+"px"
37nondefaultpos=true
38}
39else if (curX<leftedge)
40tipobj.style.left="5px"
41else{
42tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
43pointerobj.style.left=curX+offsetfromcursorX+"px"
44}
45tipobj.style.top=curY-offsetfromcursorY+20+"px"
46nondefaultpos=true
47tipobj.style.visibility="visible"
48if (!nondefaultpos)
49pointerobj.style.visibility="visible"
50else
51pointerobj.style.visibility="hidden"
52}
53}
54function hideddrivetip(){
55if (ns6||ie){
56enabletip=false
57tipobj.style.visibility="hidden"
58pointerobj.style.visibility="hidden"
59tipobj.style.left="-50px"
60tipobj.style.backgroundColor=''
61tipobj.style.width=''
62}
63}
64document.onmousemove=positiontip

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.