@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
board
/
skin
/
new01a
/
script
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/board/skin/new01a/script/layer.js
var x = 0; var y = 0; var snow = 0; var sw = 0; var cnt = 0; var dir = 1; var offsetx = 3; var offsety = 3; var width = 260; var height = 50; over = overDiv.style; document.onmousemove = mouseMove; function drs(text, title) { dts(1,text); } function nd() { if ( cnt >= 1 ) { sw = 0 }; if ( sw == 0 ) { snow = 0; hideObject(over); } else { cnt++; } } function dts(d,text) { text = eval("document.all."+text+".value"); txt = "<TABLE WIDTH=401 CELLPADDING=0 CELLSPACING=0 BORDER=0><TR><TD><img src='./images/bgtop.gif'></TD></TR><TR><TD BGCOLOR=#FFFFFF><TABLE width=401 cellpadding=0 cellspacing=0 border=0 height=100><TR><TD width=1 BACKGROUND='./images/bgleft.gif'></TD><TD width=392 valign=top nowrap align=center><TABLE width=385 cellpadding=5 nowrap><TR nowrap><TD nowrap width=380><FONT style=\"color:#555555\">"+text+"</FONT></TD></TR></TABLE></TD><TD width=8 BACKGROUND='./images/bgright.gif'></TD></TR></TABLE></TD></TR><TR><TD><img src='./images/bgbottom.gif'></TD></TR></TABLE>" layerWrite(txt); dir = d; disp(); } function disp() { if (snow == 0) { if (dir == 2) { moveTo(over,x+offsetx-(width/2),y+offsety); } // Center if (dir == 1) { moveTo(over,x+offsetx,y+offsety); } // Right if (dir == 0) { moveTo(over,x-offsetx-width,y+offsety); } // Left showObject(over); snow = 1; } } function mouseMove(e) { x=event.x + document.body.scrollLeft+10 y=event.y + document.body.scrollTop if (x+width-document.body.scrollLeft > document.body.clientWidth) x=x-width-25; if (y+height-document.body.scrollTop > document.body.clientHeight) y=y-height; if (snow) { if (dir == 2) { moveTo(over,x+offsetx-(width/2),y+offsety); } // Center if (dir == 1) { moveTo(over,x+offsetx,y+offsety); } // Right if (dir == 0) { moveTo(over,x-offsetx-width,y+offsety); } // Left } } function cClick() { hideObject(over); sw=0; } function layerWrite(txt) { document.all["overDiv"].innerHTML = txt } function showObject(obj) { obj.visibility = "visible" } function hideObject(obj) { obj.visibility = "hidden" } function moveTo(obj,xL,yL) { obj.left = xL; obj.top = yL; }