|
|
| Nuvoletta a ogni aggiornamento del forum
Ultimamente, ho notato che molti forum hanno una icona che gli esce sul desktop, ogni volta che nel forum in cui sono collegati, postano un nuovo msg.
Stamp ImmagineCodice da inserire in: * Amministrazione * Codice HTML * Codice HTML che sarà mostrato in FONDO a tutte le pagine Incollate il codice, dentro al riquadro dell'ultima opzione, modificate le varie info secondo il vostro gusto e poi, aggiornate.
Questo è il codice da inserire:CODICE <script type="text/javascript"> <!-- //Script By Antonio - http://ffmagazine.forumfree.it/ st={ "coloreTesto" : "000000", "coloreLink" : "000000", "urlLibero" : "&nodate=1", "altezza" : "0", "larghezza" : "190", "immagineSfondo" : "", "posizioneSfondo" : "", "coloreSfondo" : "F2F2F2", "larghezzaBordo" : "1", "coloreBordo" : "8B8B8B", "tipoBordo" : "solid", "bordiCurvi" : 1, "posizione" : "bl", "margini" : "30", "primoFade" : 1 }
//Non toccare da qui sT=setTimeout;getId=function(id){return document.getElementById(id)};a=st["coloreTesto"];b=st["coloreLink"];c=st["urlLibero"];d=parseInt(st["altezza"]);if(d!=0)d=d+"px";e=st["larghezza"]+"px";f=st["immagineSfondo"];g=st["coloreSfondo"];h=st["larghezzaBordo"]+"px";i=st["coloreBordo"];l=st["tipoBordo"];m=st["bordiCurvi"];n=st["posizione"];o=st["margini"];v=st["primoFade"];p=document.all&&!window.opera?true:false;q=p?'position:absolute; ':'position:fixed; ';r=p?'top:expression(parseInt(document.body.scrollTop)+'+o+');':'top:'+o+'px;';s=p?'top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight-'+o+');':'bottom:'+o+'px;';if(n=="br")q+=s+'right:'+o+'px';else if(n=="bl")q+=s+'left:'+o+'px';else if(n=="tr")q+=r+'right:'+o+'px';else if(n=="tl")q+=r+'left:'+o+'px';t='width:'+e+'; height:'+d+';';t+='background:';if(f!=''||g!=''){if(f!='')t+='url('+f+') '+st['posizioneSfondo']+' ';if(g!='')t+='#'+g;}else{t+='transparent';}t+=';'+q+';opacity:0;filter:alpha(opacity=0);border:'+h+' '+l+' #'+i+';';t+=m?'-moz-border-radius:5px;border-radius:5px':'';u='http://'+location.host+'/rss.php?a='+document.getElementsByName('cid')[0].value+'&type=html&colorlink='+b+'&color='+a+'&n=1'+c;cf=true;function setCloudOpacity(obj,op){obj=getId(obj).style;num=cf?op:"100";p?obj.filter="alpha(opacity="+num+")":obj.opacity=num/100;if(op==0&&cf)obj.visibility='hidden';if(op==0&&!cf)cf=true;}function fadeCloud(obj,t){time=8;frame=0;myObj=getId(obj);if(p){myObj.style.height=0;myObj.style.minHeight=0;}if(t==0){myObj.style.visibility='visible';for(fd=1;fd<=100;++fd){sT("setCloudOpacity('"+obj+"',"+fd+")",(time*frame));++frame;}}else{for(fd=100;fd>=0;--fd){opac=cf?fd:0;ct2=sT("setCloudOpacity('"+obj+"',"+opac+")",(time*frame));++frame;if(opac==0)break;}}}fl=true;bP='';bN='';function reloadCloud(obj){cD=getId('cloud').children[0].contentWindow.document;mm=Math.max;db=cD.body;dd=cD.documentElement;rh=mm(mm(db.scrollHeight,dd.scrollHeight),mm(db.offsetHeight,dd.offsetHeight),mm(db.clientHeight,dd.clientHeight));if(d==0){getId('cloud').style.height=rh;getId('cloud').children[0].style.height=rh;}var1=db.children[0].children[0].href;var2=db.children[0].children[1].children[1].href;sT(function(){obj.src=u+"&time="+new Date().getTime();},10000);if(bP!=var1||bN!=var2){if((v&&fl)||!fl){ct1=sT("fadeCloud('cloud',1)",9000);fadeCloud('cloud',0);}bP=var1;bN=var2;fl=false;}}function stopTimeout(){if(typeof(ct1)!='undefined')clearTimeout(ct1);if(typeof(ct2)!='undefined')cf=false;};document.write('<div id="cloud" style="'+t+'" onmouseover="stopTimeout()" onmouseout="ct1=sT(function() {cf=true;fadeCloud(\'cloud\',1)},3500)"><iframe name="cloud" src="'+u+'" allowtransparency="true" style="width:100%; height:'+d+'" scrolling="auto" frameborder="0" onload="reloadCloud(this)"><\/iframe><\/div>'); //--> </script> E questo è il sito dove troverete tutte le spiegazioni. Su come modificare le varie impostazioni ecc... [QUI]
Questo è un programma Java, quindi appesantisce un pò il forum. A causa di ciò, può rallentare oppure no, il caricamento del forum.Edited by terryborry - 9/5/2011, 14:01
|
| |