Forum con le orecchie

Astuzia Forum con le orecchie

Messaggio Da the crow Ven 21 Gen 2011 - 22:44

Forum con le orecchie


Con questo script puoi creare un effetto molto carino nell'angolo destro del tuo forum.Un risvolto (pege cut) con le immagini o quello che vuoi tu....naturalmente in rete potete trovarne molti altri con effetti diversi, a me e' piaciuto questo e l'ho voluto inserire sul forum .

Le modifica che puoi fare sono

url: Qui inserisci l'url del sito che vuoi raggiungere clikkando sull'immagine grande

small_image Metti un immagine 100x100 e' quella piccola che si verda' all'angolo.Se modifichi le misure dell'immagine devi modificare anche le misure all'interno dello script

big_image Metti l'immagine grande 650x650 e' quella grande che si vedra alla piegatura ...anche in questo caso se modifichi la misura dell'immagine ..devi modificarla anche all'interno dello scritp

Codice:
var jaaspeel = new Object();

jaaspeel.ad_url = escape('http://aiuto.forumattivo.it/forum.htm');
jaaspeel.small_path = 'http://digilander.libero.it/maimons/Natale/Natale%20immagini/fetes220.gif';
jaaspeel.small_image = escape('http://digilander.libero.it/maimons/Natale/Natale%20immagini/fetes220.gif');
jaaspeel.small_width = '100';
jaaspeel.small_height = '100';
jaaspeel.small_params = 'ico=' + jaaspeel.small_image;

jaaspeel.big_path = 'http://digilander.libero.it/maimons/Natale/Natale%20immagini/fetes220.gif';
jaaspeel.big_image = escape('http://img16.imageshack.us/img16/7369/sfondoblumulti4.gif');
jaaspeel.big_width = '650';
jaaspeel.big_height = '650';
jaaspeel.big_params = 'big=' + jaaspeel.big_image + '&ad_url=' + jaaspeel.ad_url;

function sizeup987(){
   document.getElementById('jcornerBig').style.top = '0px';
   document.getElementById('jcornerSmall').style.top = '-1000px';
}

function sizedown987(){
   document.getElementById("jcornerSmall").style.top = "0px";
   document.getElementById("jcornerBig").style.top = "-1000px";
}

jaaspeel.putObjects = function () {
// <jcornerSmall>
document.write('<div id="jcornerSmall" style="position:absolute;width:'+ jaaspeel.small_width +'px;height:'+ jaaspeel.small_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="jcornerSmallObject" width="'+jaaspeel.small_width+'" height="'+jaaspeel.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ jaaspeel.small_path +'?'+ jaaspeel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+jaaspeel.small_params+'"/>');
// embed
document.write('<embed src="'+ jaaspeel.small_path + '?' + jaaspeel.small_params +'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+ jaaspeel.small_width +'" height="'+ jaaspeel.small_height +'" flashvars="'+ jaaspeel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
document.write('</script>');
// </jcornerSmall>
// <jcornerBig>
document.write('<div id="jcornerBig" style="position:absolute;width:'+ jaaspeel.big_width +'px;height:'+ jaaspeel.big_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="jcornerBigObject" width="'+ jaaspeel.big_width +'" height="'+ jaaspeel.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ jaaspeel.big_path +'?'+ jaaspeel.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ jaaspeel.big_params +'"/>');
// embed
document.write('<embed src="'+ jaaspeel.big_path + '?' + jaaspeel.big_params +'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+ jaaspeel.big_width +'" height="'+ jaaspeel.big_height +'" flashvars="'+ jaaspeel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </jcornerBig>
setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1000);
}
jaaspeel.putObjects();
Una volta copiato in un blocco note mettete un nome a piacere e salvatelo .js ..bene avete creato lo script ora dovete upparlo.Una volta uppato inserire l'url dello script nel tag riportato qui sotto

Codice:
<script src=url dello script></script>

Copiate e incollate in > Pannello > Generale > Forum > Configurazione...Descrizione del Sito

Forum con le orecchie  20090424225355

registra tutto...puoi vedere la tua creazione all'interno di ogni pagina del tuo forum

Forum con le orecchie  Wjw11s
Forum con le orecchie  Mostroforumattivo Per domande o chiarimenti Gestire l'aspetto del forum

Tutoriale da :The crow
Copyrigth © FORUMATTIVO.COM


the crow
the crow
Veterano dello staff
Veterano dello staff

Sesso : Maschio
Età : 32
Messaggi : 8782
Località : Roma

https://aiuto.forumattivo.it/forum
the crow è stato ringraziato dall'autore di questo topic.

Astuzia Re: Forum con le orecchie

Messaggio Da the crow Sab 15 Ott 2011 - 12:58

Nuovo codice da inserire in : Pannello > Moduli > Html & lavascript > Gestiona del codice javascript

Codice:
var a="ico="+escape("http://digilander.libero.it/maimons/Natale/Natale%20immagini/fetes220.gif"),b="big="+escape("http://digilander.libero.it/maimons/Natale/Natale%20immagini/fetes220.gif")+"&ad_url="+escape("http://ilgiornaledibordo.forumattivo.com/");document.write('<div id="jcornerSmall" style="position:fixed;;width:100px;height:100px;z-index:10000;right:0px;top:0px;">');document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="jcornerSmallObject" width="100" height="100">');document.write(' <param name="allowScriptAccess" value="always"/> ');document.write(' <param name="movie" value="http://perso.numericable.fr/antonywar/small.swf?'+a+'"/>');document.write(' <param name="wmode" value="transparent" />');document.write(' <param name="quality" value="high" /> ');document.write(' <param name="FlashVars" value="'+a+'"/>');
document.write('<embed src="http://perso.numericable.fr/antonywar/small.swf?'+a+'" name="jcornerSmallObject" wmode="transparent" quality="high" width="100" height="100" flashvars="'+a+'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http:// www.macromedia.com/go/getflashplayer"></embed>');document.write("</object></div>");document.write("<\/script>");document.write('<div id="jcornerBig" style="position:absolute;width:650px;height:650px;z-index:10000;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');document.write(' id="jcornerBigObject" width="650" height="650">');document.write(' <param name="allowScriptAccess" value="always"/> ');document.write(' <param name="movie" value="http://perso.numericable.fr/antonywar/large.swf?'+b+'"/>');document.write(' <param name="wmode" value="transparent"/>');document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+b+'"/>');document.write('<embed src="http://perso.numericable.fr/antonywar/large.swf?'+b+'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="650" height="650" flashvars="'+b+'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http:// www.macromedia.com/go/getflashplayer"></embed>');document.write("</object></div>");
setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1E3);
the crow
the crow
Veterano dello staff
Veterano dello staff

Sesso : Maschio
Età : 32
Messaggi : 8782
Località : Roma

https://aiuto.forumattivo.it/forum
the crow è stato ringraziato dall'autore di questo topic.

Visualizza l'argomento precedente Visualizza l'argomento successivo Torna in alto

- Argomenti simili

 
Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.