Tabella a fianco pagina

« Older   Newer »
  Share  
Endymyon
view post Posted on 5/7/2011, 10:55 by: Endymyon




Non sono un mod purtroppo xD allora ti lascio uno script direttamente da forumfree, non so se funziona, hai solo da provare, se non funziona lascio stare xD
CODICE
Menù laterale a scomparsa

Inserire il codice seguente in Gestione HTML in fondo al forum.
<script type="text/javascript"><!--
var moving, menuRows=1, htmlItems='';
function move(b){clearTimeout(moving); if(b<0&&parseInt(Menu.left)>-Width||b>0&&parseInt(Menu.left)<0){moving=setTimeout('move('+b+')',slideSpeed); theleft+=b; Menu.left=theleft+'px'}}
function startMenu(menu,barText){document.write('<div id=ssm style="width:'+(Width+30)+'px; left:-'+(Width)+'px; top:'+Yoffset+'px; '+(isStatic?'':'top:expression('+Yoffset+'+(y=document.body.scrollTop)+\'px\'); position:fixed!important; ')+'position:absolute; z-index:9" onmouseover=move(10) onmouseout="clearTimeout(moving); moving=setTimeout(\'move(-10)\',waitTime)"><table class=mainbg width=100% cellpadding=4 cellspacing=1><tr><td class=title align=center><b>'+menu+'<\/b><td class=ww rowspan='+menuRows+' style="width:20px;padding:4px;font-size:10pt;font-weight:bold" align=center valign=middle>'+barText); Menu=document.getElementById("ssm").style; theleft=-Width}
function addItem(text,link){menuRows++; htmlItems+='<tr><td class=aa><span class=web><a HREF='+link+'>'+text+'<\/a><\/span>'}
function endMenu(){document.write(htmlItems+'<\/table><\/div>')}
if(document.getElementById){

isStatic=false;
Yoffset=100;
Width=130;
slideSpeed=20;
waitTime=500;

addItem("Supporto","http://supporto.forumfree.it");
addItem("Skin Lab","http://skinlab.forumfree.it");

startMenu("Menù","M<br>e<br>n<br>ù<br><br>l<br>a<br>t<br>e<br>r<br>a<br>l<br>e");

endMenu()}
//--></script>
 
Top
7 replies since 5/7/2011, 08:16   92 views
  Share