Tabella a fianco pagina

« Older   Newer »
  Share  
Black Ulquiorra
view post Posted on 5/7/2011, 08:16




salve volevo chiedere se mi potevate dare il codice o almeno il nome di questa tabbella

 
Top
Endymyon
view post Posted on 5/7/2011, 10:28




La richiesta andrebbe fatta nella sezione: Richieste Script, non qui, comunque, nel caso tu fossi admin/founder di un forum dovresti riuscire a trovarlo nella guida di forumfree/blogfree/forumcommunity.
P.S. Si chiama menù laterale a scomparsa. Leggi spoiler.
Adesso io ti ho messo un codice trovato in rete, non posso assicurarti il funzionamento, ne tanto meno che otterrai ciò che vuoi, potrebbe risultare diverso da quello che hai postato, e soprattutto vanno modificate le parti finali aggiungendo collegamenti alle sezioni, ma più di così non posso aiutarti per il momento XD Se vuoi provare fallo (non mi occupo tanto di script e html, quindi potresti incappare in problemi, dovrei provarlo su un forum di prova xD) se vuoi puoi aspettare qualcuno che ne sa meglio di me.
Se vuoi copiare, basta copiarlo e aggiungerlo nella homepage e poi modificare come più ti piace xD
CODICE
<script type="text/javascript">
YOffset=20;
staticYOffset=20;
slideSpeed=20;
waitTime=500;
menuIsStatic="yes";
menuWidth=130;

NS6 = (document.getElementById&&!document.all);
IE = (document.all);
NS = (navigator.appName=="Netscape" && /^4/.test(navigator.appVersion));
moving=setTimeout('null',1);

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) {theleft+=10;ssm.left = theleft}
if (IE) {ssm.style.pixelLeft += 10}
if (NS) {document.ssm.left += 10;document.ssm.clip.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) {theleft-=10;ssm.left = theleft}
if (IE) {ssm.style.pixelLeft -= 10}
if (NS) {document.ssm.left -= 10;document.ssm.clip.left+=10}}
else {clearTimeout(moving);moving=setTimeout('null',1)}}

lastY = 0;

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 = .3 * (winY - lastY - YOffset + staticYOffset)}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {smooth = .3 * (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}
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}
else if (IE) {
document.all("ssm").style.visibility = "visible"
document.all("ssm").style.pixelLeft = -menuWidth}
else if (NS) {
document.layers["ssm"].clip.left = menuWidth;
document.layers["ssm"].left = -menuWidth;
document.layers["ssm"].visibility = "show"}
if (menuIsStatic=="yes") makeStatic()}

function reloadPage() {if(NS)location.reload()}

function startMenu(menu, barText) {
document.write('<div class=tag>');
if (IE||NS6) {document.write('<div id=ssm style="visibility:hidden;position:absolute;left:0;top:'+YOffset+';z-index:9;width:4px" onmouseover=moveOut() onmouseout=moveBack()>')}
if (NS) {document.write('<layer visibility=hide top='+YOffset+' name=ssm left=0 onmouseover=moveOut() onmouseout=moveBack()>')}
if (NS6){document.write('<table style=width:'+(menuWidth+20+2)+'px cellpadding=0 cellspacing=0><tr><td>')}
document.write('<table class=mainbg style=width:'+(menuWidth+20+2)+'px cellpadding=4 cellspacing=1><tr><td class=title align=center><b>'+menu+'<\/b><td class=ww rowspan=100 width=20 align=center valign=middle><br><b><font size=2>'+barText+'<\/font><\/b><br><br>')
theleft=-menuWidth}

function addItem(text, link) {
document.write('<tr><td class=aa width='+(menuWidth-1)+'><span class=web><a HREF='+link+'>'+text+'<\/a><\/span>')}

function endMenu() {
document.write('<tr><td><font size=0> <\/font><\/table><\/div>')
if (NS6){document.write('<\/table>')}
if (IE||NS6) {document.write('<\/div>')}
if (NS) {document.write('<\/layer>')}
if (NS6||IE||NS) setTimeout('initSlide();', 500)}

window.reloadPage

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")

addItem("Forumfree","http://www.forumfree.net");

addItem("Forumcommunity","http://www.forumcommunity.net");

endMenu()</script>
 
Top
Black Ulquiorra
view post Posted on 5/7/2011, 10:39




Grazie mille, anche se non funziona, per lo sforzo. e anche per il nome.
p.s: potresti spostare la discussione in richieste scripht.
 
Top
Endymyon
view post Posted on 5/7/2011, 10:55




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
Black Ulquiorra
view post Posted on 5/7/2011, 11:05




Sei un mito, grazie mille mi hai letteralmente salvato.
grazie ancora.
 
Top
Black Ulquiorra
view post Posted on 5/7/2011, 11:22




scusa ti posso inviare per mp il link del mio forum cosi vieni che mi serve una mano?
 
Top
Endymyon
view post Posted on 5/7/2011, 12:46




E sia, non sono esperto, però mi diletto a informarmi xD Visto che abbiamo finito lascio che un mod/admin sposti la discussione xD
 
Top
¬ I t a m æ «
view post Posted on 5/7/2011, 17:55




Spostato.
 
Top
7 replies since 5/7/2011, 08:16   92 views
  Share