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:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
|
<script language=javascript>
NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")
moving=setTimeout('null',1);
lastY = 0;
function moveOut() {
if ((NS6 && parseInt(ssm.left)<0)||(IE && ssm.style.pixelLeft<0)||(NS && document.ssm.left<0))
{
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed)
if (NS6){
ssm.left = parseInt(ssm.left)+10+"px";
}
if (IE){
ssm.style.pixelLeft += 10;
}
if (NS){
document.ssm.left += 10;
}
} else {
clearTimeout(moving);
moving=setTimeout('null',1);
}
}
function moveBack(){
clearTimeout(moving);
moving = setTimeout('moveBack1()', waitTime);
}
function moveBack1() {
if ((NS6 && parseInt(ssm.left)>(-menuWidth))||(IE && ssm.style.pixelLeft>(-menuWidth))||(NS && document.ssm.left>(-menuWidth)))
{
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);
if (NS6){
ssm.left = parseInt(ssm.left)-10+"px";
}
if (IE){
ssm.style.pixelLeft -= 10;
}
if (NS){
document.ssm.left -= 10;
}
} else {
clearTimeout(moving);moving=setTimeout('null',1)
}
}
function makeStatic() {
if (NS6) {
winY = window.pageYOffset;
}
if (IE) {
winY = document.body.scrollTop;var NM=document.all('ssm').style
}
if (NS){
winY = window.pageYOffset;var NM=document.ssm
}
if (NS6||IE||NS){
if (winY!=lastY&&winY>YOffset-staticYOffset){
smooth = .2 * (winY - lastY - YOffset + staticYOffset);
} else if(YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .2 * (winY - lastY);
} else {
smooth=0
}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (NS6) ssm.top=parseInt(ssm.top)+smooth+"px"
if (IE) NM.pixelTop+=smooth;
if (NS) NM.top+=smooth;
lastY = lastY+smooth;
setTimeout('makeStatic()', 1)
}
}
function initSlide() {
if (NS6){
ssm=document.getElementById("ssm").style
ssm.visibility="visible";
ssm.left = -menuWidth + "px"; ;
} else if (IE) {
ssm.style.visibility = "visible"
ssm.style.pixelLeft = -menuWidth;
} else if (NS) {
document.ssm.left = -menuWidth;
document.ssm.visibility = "show"
}
if (menuIsStatic=="no") makeStatic();
}
function startMenu(menuHeader, barText) {
if (IE||NS6) {
document.write('<div id="ssm" style="visibility:hidden;position : absolute ;left : 0px ;top : '+YOffset+' ;Z-Index : 20;width:1px" onmouseover="moveOut()" onmouseout="moveBack()">')
}
if (NS) {
document.write('<span class="tablea" layer visibility="hide" top="'+YOffset+'" name="ssm" left="0" onmouseover="moveOut()" onmouseout="moveBack()">')
}
if (NS6){
document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" span class="tablea"><tr><td>')
}
tempBar=""
for (i=0;i<barText.length;i++) {
tempBar+=barText.substring(i, i+1)+"<br>"
}
document.write('<table cellpadding="0" cellspacing="2" width="'+(menuWidth+barWidth+2)+'" border="1" bgcolor="#000000" class="tableinborder"><tr><td bgcolor="{tabletitlecolor}" class="tabletitle" width="'+(menuWidth-1)+'" height="6" align="center" valign="center"> <span class="smallfont"><b>'+menuHeader+'</b></span></td><td bgcolor="{tablecatcolor}"align="center" rowspan="100" width="'+barWidth+'" span class="tableb" valign="center"><p align="center"><span class="smallfont"><b>'+tempBar+'</b></span></p></td></tr>')
}
function addItem(text, link, target) {
if ( !target ) {
target = '_self';
} else {
target = '_blank';
}
document.write('<tr>');
document.write('<td bgcolor="{tablecatcolor}" span class="tablea" width="'+(menuWidth-1)+'">');
document.write('<ilayer><layer width="100%" align="center">');
document.write('<div align="left">');
document.write('<a href="'+link+'" class="ssmItems" target='+target+'>');
document.write('<b><smallfont> '+text+'</font></b></div></a>');
document.write('</layer></ilayer></td></tr>');
}
function addHdr(text) {
document.write('<tr><td bgcolor="{tabletitlecolor}"span class="tabletitle" height="4" align="center" valign="center" width="'+(menuWidth-1)+'"> ');
document.write('<span class="smallfont"><b>'+text+'</b></span></td></tr>')
}
function endMenu() {
document.write('</table>')
if (NS6){document.write('</td></tr></table>')}
if (IE||NS6) {document.write('</div>')}
if (NS) {document.write('</layer>')}
if (NS6||IE||NS) setTimeout('initSlide();', 100)
}
//-->
YOffset=20; // no quotes!!
staticYOffset=20; // no quotes!!
slideSpeed=30; // no quotes!!
barWidth=10; // no quotes!!
waitTime=1000; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuWidth=180; // Must be a multiple of 10! no quotes!!
menuIsStatic="no";
linkTarget="_self";
startMenu("N A V I G A T I O N")
addHdr("Navigation");
addItem("Forum", "index.php");
addItem("Team", "team.php");
addItem("Suche", "search.php");
addItem("ACP", "acp.php");
addItem("Wizards", "memberslist.php");
addItem("wer ist wo", "wiw.php", "_blank");
addHdr("Profil");
addItem("Profil editieren", "usercp.php?action=profile_edit");
addItem("Signatur editieren", "usercp.php?action=signature_edit")
addItem("Einstellungen editieren", "usercp.php?action=options_change")
addItem("Passwort editieren", "usercp.php?action=password_change")
addItem("Avatar ändern", "usercp.php?action=avatars"
addItem("PN-Box", "pms.php?");
addItem("User-CP Übersicht", "usercp.php?");
addItem("Foren als gelesen markieren", "markread.php?action=index");
addHdr("Statistik")
<tr bgcolor="{tabletitlecolor}" id="tabletitle">
<td colspan=6><smallfont color="{fontcolorsecond}"><b>Statistik</b></font></td>
</tr>
<tr>
<td colspan=6 bgcolor="{tablecolorb}" id="tableb"><smallfont>Wizards: $members[members] | Themen: $threads[threads] | Beiträge: $posts[posts] (durchschnittlich $postperday Beiträge/Tag)<br>
Our newest Magician ist: <a href="profile.php?userid=$newestmember[userid]&sid=$session[hash]">$newestmember[username]</a>.</font></td>
</tr>
endMenu()
</script> |