-
JackGaunt.
User deleted
Anteprima
Dopo 10 secondi dal caricamento della pagina, la skin cambierà! potrete cambiare skin quando vorrete e tornare alla precedente cliccando sull'immagine a fianco della barra di caricamento. In più il cambio di colori e stili NON RICHIEDE L'AGGIORNAMENTO DELLA PAGINA!
Amministrazione > Grafica > Codice HTML > Codice HTML che sarà mostrato in CIMA a tutte le pagineCODICE<!-- INIZIO FUNZIONI CAMBIO SKIN -->
<script type="text/javascript">
function def() { document.body.className = "bodydef"; document.getElementById('waitbaralt').style.display='none'; document.getElementById('waitbardef').style.display='inline';
localStorage.setItem('skin','def'); }
function alt() { document.body.className = "bodyalt"; document.getElementById('waitbardef').style.display='none'; document.getElementById('waitbaralt').style.display='inline';
localStorage.setItem('skin','alt'); }
if (localStorage.getItem('skin') === null) {
localStorage.setItem('skin','def');
}
else if (localStorage.getItem('skin') === 'def') {
def();
}
else if(localStorage.getItem('skin') == 'alt') {
alt();
}
</script>
<!-- FINE CAMBIO SKIN -->
Amministrazione > Grafica > Codice HTML > Codice HTML che sarà mostrato in tutte le pagine sotto il logo del sitoCODICE<!-- INIZIO CAMBIO SKIN CARICATO ALL'AVVIO -->
<script type="text/javascript">
window.onload=function()
{
document.getElementById('progbardef').style.width="100%";
document.getElementById('progbaralt').style.width="100%";
if (localStorage.getItem('skin') === 'def') {
timer1=setTimeout( function() {alt()}, 9000 );
}
else if(localStorage.getItem('skin') == 'alt') {
timer2=setTimeout( function() {def()}, 9000 );
}
document.getElementById('waitbardef').onclick = function() { clearTimeout(timer1); document.getElementById('progbardef').style.width="0"; }
document.getElementById('waitbaralt').onclick = function() { clearTimeout(timer2); document.getElementById('progbaralt').style.width="0"; }
}
</script>
<!-- FINE SKIN AVVIO -->
<!-- WAITBAR -->
<div id="waitbardef" ><div id="progcontainer" ><div id="progbardef"> </div></div><h2 onclick="alt();" href=""><img style="float:right; height:70px; margin-top:-70px; margin-right:60px" src="LINK IMMAGINE PER PASSARE ALLA SECONDA SKIN"></h2></div>
<div id="waitbaralt" ><div id="progcontainer" ><div id="progbaralt"> </div></div><h2 onclick="def();" href="" ><img style="float:left; height:70px; margin-top:-70px; margin-left:60px; " src="LINK IMMAGINE PER PASSARE ALLA PRIMA SKIN"></h2></div>
<!-- END WAITBAR -->
<br><br>
Amministrazione > Grafica > Colori e StiliCODICE.bodyalt {background:url(LINK SECONDA IMMAGINE DI SFONDO); -webkit-transition: background 0.5s linear;
-moz-transition: background 0.5s linear;
-o-transition: background 0.5s linear;
transition: background 0.5s linear}
.bodydef {background:url(LINK PRIMA IMMAGINE DI SFONDO); color: #555; -webkit-transition: background 0.5s linear;
-moz-transition: background 0.5s linear;
-o-transition: background 0.5s linear;
transition: background 0.5s linear}
/*PARTE IMPORTANTE: PRESTARE ATTENZIONE */
#waitbardef:after, #waitbaralt:after {content:"coded by ©JackGaunt"; font-size: 7pt; line-height: 90%; color: #666; text-align:left; margin-left: 400px}
#waitbaralt {display:none}
.bodydef #waitbardef {height: 50px; display:inline; background-size: auto 50px}
.bodyalt #waitbardef {display:none !important}
.bodyalt #waitbaralt {display:inline}
.bodydef #waitbaralt {display:none !important}
#waitbardef #progcontainer {border: 2px solid rgba(255, 255, 255, 0.75); border-radius: 5px; background: url('http://i.imgur.com/gNe9B.png');
border-radius: 5px}
#waitbaralt #progcontainer {border: 2px solid rgba(0, 0, 0, 0.75); background:url(http://i.imgur.com/bz6Pf.png); border-radius: 5px}
#waitbaralt div #progbaralt {background: rgba(0, 0, 0, 0.4)}
#waitbardef div #progbardef {background:rgba(255, 255, 255, 0.4)}
#progbaralt, #progbardef {width: 0; margin: 0;
height: 30px;
background: transparent;
transition:width 12s;
-moz-transition:width 12s; /* Firefox 4 */
-webkit-transition:width 12s; /* Safari and Chrome */
-o-transition:width 12s}
#progcontainer {width: 600px}
ATTENZIONE: Per le progressbar io ho usato le seguenti immagini:che potete modificare da #progcontainer!
PER MODIFICARE OGNI ALTRO STILE DELLA SECONDA SKIN BASTA AGGIUNGERE IL RISPETTIVO COLORE E STILE PRECEDUTO DA.bodyalt
ESEMPIO:.bodyalt .menuwrap {background:#F00}renderà rosso il menu superiore quando si passa alla seconda skin!
!Importante : Aggiungere nei credits
o più semplicemente: Amministrazione > Codice HTML > Codice HTML che sarà mostrato in FONDO a tutte le pagineAutomatic skin change performed by ©JackGauntCODICE<div style="position:relative; bottom:28px; height:0; right:0px; font-size:16pt; font-family:georgia; letter-spacing:-2px" align="right">Automatic skin change performed by <a href="http://thinktwice.skin.forumcommunity.net/?act=Profile&MID=2223137">©JackGaunt</a></div>
SCRIPT REALIZZATO SU RICHIESTA DI axel9546INDICATE CORTESEMENTE I NOMI E LINK DEI FORUM SU CUI APPLICATE IL CODICE!
Edited by JackGaunt - 21/9/2012, 20:23. -
Mikysimpa.
User deleted
Che fantastico effetto *w*! Mi piace un sacco e...come hai fatto a mettere l'immagine a destra nelle sezioni?! Quella che si illumina al passaggio nel mouse! Come hai fatto? . -
JackGaunt.
User deleted
ahahah se vuoi rilascio anche quel codice ^^ . -
Mikysimpa.
User deleted
Molto molto molto molto...volentieri ^^! Mi faresti un grande favore X3 . -
JackGaunt.
User deleted
pubblicato! . -
Mikysimpa.
User deleted
Grazie *w*! .