Code: Alles auswählen
<p style="text-align: left">{META} {NAV_LINKS} {SITENAME} :: {PAGE_TITLE}
-1)
tempBar='';barBuilt=0;lastY=0;lastX=0;sI=new Array();moving=setTimeout('null',1);
function moveOut() {
if(parseInt(ssm.left)0&&!mPos){
clearTimeout(moving);
moving=setTimeout('moveOut()', slideXSpeed);
slideMenu((!mPos)?"out":"out");
}
else {
clearTimeout(moving);
moving=setTimeout('null',1);
}
}
function moveBack() {
clearTimeout(moving);
moving=setTimeout('moveBack1()',waitTime);
}
function moveBack1() {
if(parseInt(ssm.left)>-(menuWidth+1)&&mPos||parseInt(ssm.left)0)flow=Math.ceil(flow);
else flow=Math.floor(flow);
if(IE||NS6){
lastX+=flow;
bssm.clip="rect(0 "+((!mPos)?(barWidth+menuWidth+3):(barWidth+2+lastX))+" "+(((IE4)?document.body.clientHeight:0)+tssm.offsetHeight)+" "+((!mPos)?(lastX+1):0)+")";
}
ssm.left=parseInt(ssm.left)+flow;
if(NS){
if(!mPos){
bssm.clip.left+=flow;
bssm2.clip.left+=flow;
}
else{
bssm.clip.right+=flow;
bssm2.clip.right+=flow;
}
if(bssm.left+bssm.clip.right>document.width)document.width+=flow;
}
}
function makeStatic() {
winY=(IE)?document.body.scrollTop:window.pageYOffset;
sHow=(NS6)?0.4:0.2;
if(winY!=lastY&&winY>YOffset-staticYOffset)smooth=sHow*(winY-lastY-YOffset+staticYOffset);
else if(YOffset-staticYOffset+lastY>YOffset-staticYOffset&&winY0)smooth=Math.ceil(smooth);
else smooth=Math.floor(smooth);
bssm.top=parseInt(bssm.top)+smooth;
lastY=lastY+smooth;
setTimeout('makeStatic()',slideYSpeed);
}
function menuClick(id) {
obj=(document.all)?document.all(id):document.getElementById(id);
with(obj){
if(event.srcElement.id!=id){
if(target=="_top")top.location=href;
else if(target=="_parent")parent.location=href;
else if(target=="_blank")window.open(href);
else if(target>""&&top.frames[target])top.frames[target].location=href;
else if(target>"")eval('window.open("'+href+'","'+target+'")');
else location=href;
}
}
}
function buildBar() {
if(!barType)tempBar='<img SRC="'+barText+'" BORDER="0">';
else{
for(b=0;b"
}
ssmHTML+=''+tempBar+'';
}
function initSlide() {
if (!mPos)lastX=menuWidth
if ((NS6||IE)&&!OP||(operaFix!=2&&OP)){
ssm=(NS6)?document.getElementById("thessm").style:document.all("thessm").style;
tssm=(NS6)?document.getElementById("thessm"):document.all("thessm");
bssm=(NS6)?document.getElementById("basessm").style:document.all("basessm").style;
bssm.clip="rect(0 "+(barWidth+2+((!mPos)?menuWidth+1:0))+" "+(((IE4)?document.body.clientHeight:0)+tssm.offsetHeight)+" "+((!mPos)?(menuWidth+1):0)+")";
if (OP&&operaFix==1)XOff=(!mPos)?document.body.clientWidth-barWidth-3:0;
bssm.left=(!mPos)?XOff-menuWidth:XOff;
if(OP)ssm.left=ssm.left;
bssm.visibility="visible";
if(NS6&&!OP){
bssm.top=YOffset;
if(menuOpacity!=100)ssm.MozOpacity=menuOpacity/100;
slideIsGo=window.innerHeight>tssm.offsetHeight+staticYOffset;
}
else{
if(menuOpacity!=100)ssm.filter="alpha(opacity="+menuOpacity+")";
slideIsGo=((OP)?window.innerHeight:document.body.clientHeight)>parseInt(tssm.offsetHeight)+staticYOffset;
}
if(autoHideXOverflow&&((IE?document.body.clientWidth:window.innerWidth-16)ssm.clip.bottom+staticYOffset;
}
if(slideY&&(slideOnYOverflow||(!slideOnYOverflow&&slideIsGo)))makeStatic();
if(!slideX)moveOut();
}
function getXOff() {
return (((!XAlign)?((IE||OP)?document.body.clientWidth-barWidth-3:window.innerWidth-barWidth-3-17):(XAlign==1)?Math.floor(((IE||OP)?document.body.clientWidth/2-barWidth/2-1.5:window.innerWidth/2-barWidth/2-1.5)):0)+XOffset);
}
function buildMenu() {
mPos=menuPosition;
ssmHTML="";
XOff=getXOff();
if(IE||NS6)ssmHTML+='<div ID="basessm" style="visibility:hidden;Position : Absolute ;Top : '+YOffset+' ;Z-Index : 20;width:'+(barWidth+2)+';"><div ID="thessm" style="Position : Absolute ;Left : '+((!mPos)?menuWidth+1:-menuWidth-1)+' ;Top : 0px ;Z-Index : 30;'+((IE)?"width:1px":"")+'" '+((slideX)?'onmouseover="moveOut()" onmouseout="moveBack()")':'')+'>';
if(NS)ssmHTML+='';
if(NS6)ssmHTML+='';
ssmHTML+='';
for(i=0;i';
if(barBuilt==0&&!mPos){
buildBar();
barBuilt=1
}
if(sI[i][3]>1)ssmHTML+=''+((sI[i][3]==3)?'<a HREF="'+((sI[i][1].indexOf("://")==-1&&sI[i][1].indexOf("../")==-1)?targetDomain:'')+sI[i][1]+'" target="'+sI[i][2]+'" class="ssmHdr">':'')+sI[i][0]+((sI[i][3]==3)?'</a>':'')+((NS6)?'':'')+'';
else{
if(!sI[i][2])sI[i][2]=targetFrame;
ssmHTML+='':'onmouseover="style.backgroundColor=''+linkOverBGColor+''" onmouseout="style.backgroundColor=''+linkBGColor+''" onclick="menuClick('item_'+i+'');"'+(IE?' style="cursor:hand;"':'')+'>')+((NS6)?'':'<div ALIGN="'+linkAlign+'" CLASS="ssmItem">')+((sI[i][3])?'':'<a HREF="'+((sI[i][1].indexOf("://")==-1&&sI[i][1].indexOf("../")==-1)?targetDomain:'')+sI[i][1]+'" target="'+sI[i][2]+'" CLASS="ssmItem" id="item_'+i+'">')+sI[i][0]+''+((sI[i][3])?'':'</a>')+((NS6)?'':'</div>')+((sI[i][3])?'':'')+'';
}
if(barBuilt==0&&mPos){
buildBar();
barBuilt=1;
}
ssmHTML+='';
}
ssmHTML+='';
if(NS6)ssmHTML+='';
if(IE||NS6){
ssmHTML+='</div></div>';
setTimeout('initSlide();',1);
}
if(NS)ssmHTML+='';
document.write(ssmHTML);
}
function addHdr(text){sI[sI.length]=[text, '', '', 2]}
function addLink(text, link, target){if(!link)link="javascript://";sI[sI.length]=[text, link, target, 3]}
function addItem(text, link, target){if(!link)link="javascript://";sI[sI.length]=[text, link, target, 0]}
function addText(text){sI[sI.length]=[text, '', '', 1]}
//window.onresize=function(){setTimeout('alert(getOff());XOff=getXOff();bssm.left=(!mPos)?XOff-menuWidth:XOff;');}
//-->
addItem("Registrieren", "{U_REGISTER}", "");
addItem("Profil", "{U_PROFILE}", "");
addItem("Priv.Msgs.", "{U_PRIVATEMSGS}", "");
addItem("{L_LOGIN_LOGOUT}", "{U_LOGIN_LOGOUT}", "");
// addItem("Links", "links.php", "")
// addItem("Download", "download.php", "")
buildMenu();
//-->
<a name="top"></a>
</p>
<div align="center">
<span class="gen">
<p>
<p>
<p>
</div>
<p>
<br /></div>

Das wäre wahnsinnig nett.