Skin Autunnale (Problemi)

Risolto Skin Autunnale (Problemi)

Messaggio Da Primahs Ven 21 Set 2012 - 21:06

Codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="min-width" lang="it" xml:lang="it"  >
<head>
<title>Buon autunno!</title>
<head>
<body>
<center><div id="contenitore">
<div id="logointro"><img src="http://i34.servimg.com/u/f34/16/84/89/65/coolte43.png"/></div>
<div id="sottotitolo"><h6>E' arrivato l'autunno...</h6></div>
<div align="justify">...incomincia il freddo e il clima della tristezza. Pensando a come è passata velocemente quest'estate, non vedi l'ora che arrivano le festività natalizie! Nel frattempo puoi passare nel nostro forum per discutere con i nostri staffer e membri di quello che vuoi entrando o facendo una brevissima <a href="/register">iscrizione</a>. Ci teniamo tantissimo! Non vedo l'ora che entri per dare un occhiata su chi siamo. </div>

<a href="/forum"><img src="http://i39.servimg.com/u/f39/14/69/52/22/coolte10.png"/></a>

<hr>

<div id="pie">Creato da Martino Pio</div>
</div>




<style>
/*COPYRIGHT 2012 - CODICI HTML E CSS SONO STATI REALIZZATI DA MARTINOPIO - TUTTI I DIRITTI RISERVATI*/
#contenitore {
position: relative;
top: 150px;
width : 925px;
padding : 5px;
 text-shadow: 2px 2px 4px #738031;
background : #FFFFFF;
border : 3px solid #EEE;
-moz-border-radius : 7px;
-webkit-border-radius : 7px;
-moz-box-shadow : 0 0 10px #666;
-webkit-box-shadow : 0 0 10px #666;

}

#sottotitolo {
font-size: 24pt;
}

#pie {
font-size: 8pt;
}

body{background-image:URL(http://www.windoweb.it/desktop_temi/foto_autunno/foto_autunno_335.jpg);background-attachment:fixed; }
</style>

<body onLoad="snow()">
<script type="text/javascript">
<!-- Snow Script by kurt.grigg@virgin.net
N = 40;
Y = new Array();
X = new Array();
S = new Array();
A = new Array();
B = new Array();
M = new Array();
V = (document.layers)?1:0;

iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.document.body.clientWidth;
for (i=0; i < N; i++){
Y[i]=Math.round(Math.random()*iH);
X[i]=Math.round(Math.random()*iW);
S[i]=Math.round(Math.random()*5+2);
A[i]=0;
B[i]=Math.random()*0.1+0.1;
M[i]=Math.round(Math.random()*1+1);
}
if (V){
for (i = 0; i < N; i++)
{document.write("<layer NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,"+M[i]+","+M[i]+"'></layer>")}
}
else{
document.write('<div style="position:fixed;top:0px;left:0px">');
document.write('<div style="position:fixed">');
for (i = 0; i < N; i++)
{document.write('<div id="si" style="position:fixed;top:0;left:0;width:'+M[i]+';height:'+M[i]+';background:#fffff0;font-size:'+M[i]+'"></div>')}
document.write('</div></div>');
}
function snow(){
var H=(document.layers)?window.innerHeight:window.document.body.clientHeight;
var W=(document.layers)?window.innerWidth:window.document.body.clientWidth;
var T=(document.layers)?window.pageYOffset:document.body.scrollTop;
var L=(document.layers)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < N; i++){
sy=S[i]*Math.sin(90*Math.PI/180);
sx=S[i]*Math.cos(A[i]);
Y[i]+=sy;
X[i]+=sx;
if (Y[i] > H){
Y[i]=-10;
X[i]=Math.round(Math.random()*W);
M[i]=Math.round(Math.random()*1+1);
S[i]=Math.round(Math.random()*5+2);
}
if (V){document.layers['sn'+i].left=X[i];document.layers['sn'+i].top=Y[i]+T}
else{si[i].style.pixelLeft=X[i];si[i].style.pixelTop=Y[i]+T}
A[i]+=B[i];
}
setTimeout('snow()',10);
}
//-->
</script>


<script type="text/javascript">

/******************************************
* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
* Last updated Nov 9th, 05' by DD. This notice must stay intact for use
******************************************/

//Configure below to change URL path to the snow image
var snowsrc="http://3zufng.blu.livefilestore.com/y1pevZcfnk7TaossQ5W2BV51SFemUofw4A2DuY1jYpIir5jUbt9MSf0kYgdt4kSQQwcRL_1eVbbYFCq2QKDSd2V3BsfZLEyWvRR/cristalli.gif"
// Configure below to change number of snow to render
var no = 25;
// Configure whether snow should disappear after x seconds (0=never):
var hidesnowtime = 0;
// Configure how much snow should drop down before fading ("windowheight" or "pageheight")
var snowdistance = "windowheight";

///////////Stop Config//////////////////////////////////

var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;

if (ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = iecompattest().clientWidth;
doc_height = iecompattest().clientHeight;
}

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
snowsrc=(snowsrc.indexOf("/")!=-1)? "http://i39.servimg.com/u/f39/14/69/52/22/drough10.png" : snowsrc
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*30; // set amplitude variables
stx[i] = 0.4 + Math.random()/40; // set step variables
sty[i] = 0.10 + Math.random(); // set step variables
if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: fixed; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION:fixed; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
}
}
}

function snowIE_NS6() { // IE and NS6 main animation function
doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.06 + Math.random();
}
dx[i] += stx[i];
document.getElementById("dot"+i).style.top=yp[i]+"px";
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";
}
snowtimer=setTimeout("snowIE_NS6()", 10);
}

function hidesnow(){
if (window.snowtimer) clearTimeout(snowtimer)
for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
}


if (ie4up||ns6up){
snowIE_NS6();
if (hidesnowtime>0)
setTimeout("hidesnow()", hidesnowtime*1000)
}

</script>
</body>
</html>

Questo codice, che ho messo nella Pagina Gestione HTML non fa comparire lo skin...
Primahs
Primahs
****

Sesso : Maschio
Età : 25
Messaggi : 306
Località : Monza

Primahs è stato ringraziato dall'autore di questo topic.

Risolto Re: Skin Autunnale (Problemi)

Messaggio Da Ospite Ven 21 Set 2012 - 21:28

Ciao, problema risolto Very Happy?

Saluti, MartinoPio ciao!
avatar
Ospite
Ospite


Ospite è 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.