-
Notifications
You must be signed in to change notification settings - Fork 9
/
sublinker-static.js
executable file
·50 lines (44 loc) · 1.32 KB
/
sublinker-static.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* author: Lorilla Bong */
/* Generated by AceHTML Freeware http://freeware.acehtml.com */
/* Creation date: 24.06.01 */
// horizontal distance from the textlink to the submenu (pixels)
<!--
//var xdistance=10;
// vertical distance from the textlink to the submenu (pixels)
//var ydistance=10;
function ssm(menuId){
if (brwsVer>=4) {
if (curSubMenu!='') hsm();
if (document.all) {
eval('document.all.'+menuId).style.visibility='visible';
//eval('document.all.'+menuId).style.posTop=y+ydistance;
//eval('document.all.'+menuId).style.posLeft=x+xdistance;
} else{
eval('document.'+menuId).visibility='show';
//eval('document.'+menuId).posTop=y+ydistance;
//eval('document.'+menuId).posLeft=x+xdistance;
}
curSubMenu=menuId;
}
}
function hsm(){
if (brwsVer>=4) {
if (document.all) {
eval('document.all.'+curSubMenu).style.visibility='hidden';
} else {
eval('document.'+curSubMenu).visibility='hide';
}
curSubMenu='';
}
}
var brwsVer=parseInt(navigator.appVersion);var timer;var curSubMenu='';
//var x,y;
//function handlerMM(e){
// x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
// y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
//}
//if (document.layers){
// document.captureEvents(Event.MOUSEMOVE);
//}
//document.onmousemove=handlerMM;
// -->