Avatar Image
Usuario habitual
Usuario habitual
vereis esque quiero ambientar mi foro y lo del script de nieve no me sale!!! me podeis explicar paso a paso como ponerlo? ^^ Muaxxx  
Avatar Image
@man / @woman
@man / @woman

Explicanos paso a paso porque no te sale.

Avatar Image
Usuario habitual
Usuario habitual

pues pongo este codigo en la cabecera pero nada!:

<script language="JavaScript1.2">

/******************************************
* Nieve Script - HTML.Dynamico 2001
* Mas Scripts y Recursos para tu web en:
* http://www.htmldynamico.cjb.net
******************************************/
 

  // Configure para cambiar el URL path de la imagen
  var snowsrc="http://www.subirimagenes.com/imagenes/567994snow3.gif"
  // Configure para cambiar la cantidad de nieve
  var no = 10;

  var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
  var ie4up = (document.all) ? 1 : 0;
  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;

  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 (ns4up||ns6up) {
    doc_width = self.innerWidth;
    doc_height = self.innerHeight;
  } else if (ie4up) {
    doc_width = document.body.clientWidth;
    doc_height = document.body.clientHeight;
  }

  dx = new Array();
  xp = new Array();
  yp = new Array();
  am = new Array();
  stx = new Array();
  sty = new Array();
 
  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()*20;         // set amplitude variables
    stx[i] = 0.02 + Math.random()/10; // set step variables
    sty[i] = 0.7 + Math.random();     // set step variables
    if (ns4up) {                      // set layers
      if (i == 0) {
        document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show"><a><img src='"+snowsrc+"' border="0"></a></layer>&quot ;
      } else {
        document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show"><img src='"+snowsrc+"' border="0"></layer>&quot ;
      }
    } else if (ie4up||ns6up) {
      if (i == 0) {
        document.write("<div id="dot"+ i +"" style="POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;"><a><img src='"+snowsrc+"' border="0"></a></div>&quot ;
      } else {
        document.write("<div id="dot"+ i +"" style="POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;"><img src='"+snowsrc+"' border="0"></div>&quot ;
      }
    }
  }
 
  function snowNS() {  // Netscape main animation function
    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.7 + Math.random();
        doc_width = self.innerWidth;
        doc_height = self.innerHeight;
      }
      dx[i] += stx[i];
      document.layers["dot"+i].top = yp[i];
      document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i] ;
    }
    setTimeout("snowNS()", 10);
  }

  function snowIE_NS6() {  // IE and NS6 main animation function
    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.7 + Math.random();
        doc_width = ns6up?window.innerWidth : document.body.clientWidth;
        doc_height = ns6up?window.innerHeight : document.body.clientHeight;
      }
      dx[i] += stx[i];
      if (ie4up){
      document.all["dot"+i].style.pixelTop = yp[i];
      document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i] ;
      }
      else if (ns6up){
      document.getElementById("dot"+i).style.top=yp[i];
      document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i] ;
      }  
    }
    setTimeout("snowIE_NS6()", 10);
  }

  if (ns4up) {
    snowNS();
  } else if (ie4up||ns6up) {
    snowIE_NS6();
  }

</script>

Ilusion_Eterna
Machacateclados
Machacateclados

yo tb lo quiero poner pero tampoco me sale

Ilusion_Eterna
Machacateclados
Machacateclados

he encontrado un codigo con efecto nieve, espero te sirva, pero no se me ven los copos de nieve prueba tu a ver
    <script language="JavaScript1.2">


  //Configure below to change URL path to the snow image
  var snowsrc="snow3.gif"
  // Configure below to change number of snow to render
  var no = 10;

  var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
  var ie4up = (document.all) ? 1 : 0;
  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;

  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 (ns4up||ns6up) {
    doc_width = self.innerWidth;
    doc_height = self.innerHeight;
  } else if (ie4up) {
    doc_width = document.body.clientWidth;
    doc_height = document.body.clientHeight;
  }

  dx = new Array();
  xp = new Array();
  yp = new Array();
  am = new Array();
  stx = new Array();
  sty = new Array();
 
  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()*20;         // set amplitude variables
    stx[i] = 0.02 + Math.random()/10; // set step variables
    sty[i] = 0.7 + Math.random();     // set step variables
    if (ns4up) {                      // set layers
      if (i == 0) {
        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://www.yomaster.com/\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/layer>&quot ;
      } else {
        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"><\/layer>&quot ;
      }
    } else if (ie4up||ns6up) {
      if (i == 0) {
        document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://www.yomaster.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>&quot ;
      } else {
        document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>&quot ;
      }
    }
  }
 
  function snowNS() {  // Netscape main animation function
    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.7 + Math.random();
        doc_width = self.innerWidth;
        doc_height = self.innerHeight;
      }
      dx[i] += stx[i];
      document.layers["dot"+i].top = yp[i];
      document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i] ;
    }
    setTimeout("snowNS()", 10);
  }

  function snowIE_NS6() {  // IE and NS6 main animation function
    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.7 + Math.random();
        doc_width = ns6up?window.innerWidth : document.body.clientWidth;
        doc_height = ns6up?window.innerHeight : document.body.clientHeight;
      }
      dx[i] += stx[i];
      if (ie4up){
      document.all["dot"+i].style.pixelTop = yp[i];
      document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i] ;
      }
      else if (ns6up){
      document.getElementById("dot"+i).style.top=yp[i];
      document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i] ;
      }  
    }
    setTimeout("snowIE_NS6()", 10);
  }

  if (ns4up) {
    snowNS();
  } else if (ie4up||ns6up) {
    snowIE_NS6();
  }

    </script>

Ilusion_Eterna
Machacateclados
Machacateclados

ENCONTRE ESTO PERO NO SE PONER EL CODIGO, A PARTIR DE DONDE HAY Q COPIAR?
http://www.webexperto.com/articulos/art/176/efecto-nieve/

Avatar Image
Moderador
Moderador

en en un foro mi@ 2 opciones , en el html de cabecera o en el html del pie .

Ponlo en la cabecera, y ojo con la linkear bien la ruta  de var snowsrc="snow.gif" para el caso del foro debe ser con http://

De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


Avatar Image
Moderador
Moderador
Escrito originalmente por Noa-Jackson

pues pongo este codigo en la cabecera pero nada!:

ese nada que es , no se ve la imagen o se ve con una x se me hace que la imagen no existe o esta mal linkeada .

Por cierto desactiven los caretos cuando posteen algunos códigos.

De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


Ilusion_Eterna
Machacateclados
Machacateclados

AINS NO ME SALE, COMO SERIA EL CODIGO? ES Q NO ENTIENDO NADA DE NADAAAA
LLEVO TODA LA MAÑANA INTENTANDO PONER ESE CODIGO PERO NADA

Avatar Image
Moderador
Moderador

es así ,
donde dice var snowsrc="http://www.webexperto.com/articulos/archivos/176/snow1.gif" cambialo por la ruta de la imagen .

Toda la mañana , a ratos exageran un poco

Codigo
y  se ve así http://miarroba.com/foros/ver.php?id=218876
De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


Ilusion_Eterna
Machacateclados
Machacateclados

ains no me sale, esto es lo q pongo en la cabecera:

<script language="JavaScript1.2">

/******************************************
* Snow Effect Script- By Altan d.o.o. (snow@altan.hr, [url]http://www.altan.hr/snow/index.html)[/url]
* Visit Dynamic Drive (http://www.dynamicdrive.com/) for full source code
* Modified Dec 31st, 02' by DD. This notice must stay intact for use
******************************************/


//Configure below to change URL path to the snow image
var snowsrc="http://<a href="http://subefotos.com" target="_blank"> <img src="http://fotos.subefotos.com/fe5582c83e94e7fa201fefe9ccd0b16bo.gif" /></a>
// Configure below to change number of snow to render
var no = 10;

var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;

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 (ns4up||ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();

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()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/layer>&quot ;
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"><\/layer>&quot ;
}
} else if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>&quot ;
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>&quot ;
}
}
}

function snowNS() { // Netscape main animation function
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.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i] ;
}
setTimeout("snowNS()", 10);
}

function snowIE_NS6() { // IE and NS6 main animation function
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.7 + Math.random();
doc_width = ns6up?window.innerWidth : document.body.clientWidth;
doc_height = ns6up?window.innerHeight : document.body.clientHeight;
}
dx[i] += stx[i];
if (ie4up){
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i] ;
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp[i];
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i] ;
}
}
setTimeout("snowIE_NS6()", 10);
}

if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}

</script>



CREO Q NO PONGO BIEN LO Q ME DICES, Q TENGO Q PONER LA DIRECCION DE MI FORO O  LA URL DE LA IMAGEN Q TENGO EN MI FORITO
MI FORO ES:http://miarroba.com/foros/ver.php?id=1144938
MI IMAGEN:<a href="http://subefotos.com" target="_blank"> <img src="http://fotos.subefotos.com/fe5582c83e94e7fa201fefe9ccd0b16bo.gif" /></a>
QUE TENGO Q PONER DE HAY, LA DEL FORO O LA DE LA IMAGEN
HE PROBADO LOS DOS PERO NADA DE NADA
MI SUEÑO NO SE ME CUMPLE
AYUDAME POR FIII

Avatar Image
Moderador
Moderador

bueno una navidad sin nieve igual es navidad...

a ver copia tal cual el código que te di en el html de cabera , o bien donde dice http:/ /www.webexperto.com/ articulos/archivos/1 76/snow1.gif" reeemplazalo por la imagen que quieras , para no cargarse a webexperto.

De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


Ilusion_Eterna
Machacateclados
Machacateclados

no me sale nene, lo dejo ya le dire a alguien q me de el codigo con ese link porque no me va
gracias

Avatar Image
Moderador
Moderador

a ver donde alojaste la imagen ...?

De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


Avatar Image
Moderador
Moderador

acabo de ver la imagen que qieres que aparezca esta http://fotos.subefotos.com/fe5582c83e94e7fa201fefe9ccd0b16bo.gif aunque no creo que tenga nada que ver , debe ser una imagen pequeña , copos o cosas asi

De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


Avatar Image
Usuario habitual
Usuario habitual

a mi tampoco m sale! no esk m salga la típica X roja no,esk no sale nada! no sabreis de algun código de nieve mas simple o mas cortito o no se....gracias!!! ^^

Avatar Image
Moderador
Moderador

el de webexperto... pero no entiendo que hacen mal. sólo copienlo, yo sólo he hecho eso y ok, y se ve en IE y en FF.

Si quieren otro efecto nieve + javascript en google, y de seguro llegaran a los mismos.

De interés Público
NO AGREGARME COMO AMIGO, gracias
Asuntos claros en los temas
Consultas en temas no afines serán borradas
Tratemos de expresarnos bien, que así da gusto leer


RaRos
Usuario Novato
Usuario Novato

Me sale con este codigo . . .

<script language="JavaScript1.2">


  //Configure below to change URL path to the snow image
  var snowsrc="http://i83.photobucket.com/albums/j300/vivianag4/Varios/snow37ow.gif"
  // Configure below to change number of snow to render
  var no = 10;

  var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
  var ie4up = (document.all) ? 1 : 0;
  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;

  var dx, xp, yp;    // coordinate and position variables
  var am, stx, sty;  // amplitude and step variables
  var i, doc_width = 800, doc_height = 800;
 
  if (ns4up||ns6up) {
    doc_width = self.innerWidth;
    doc_height = self.innerHeight;
  } else if (ie4up) {
    doc_width = document.body.clientWidth;
    doc_height = document.body.clientHeight;
  }

  dx = new Array();
  xp = new Array();
  yp = new Array();
  am = new Array();
  stx = new Array();
  sty = new Array();
 
  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()*20;         // set amplitude variables
    stx[i] = 0.02 + Math.random()/10; // set step variables
    sty[i] = 0.7 + Math.random();     // set step variables
    if (ns4up) {                      // set layers
      if (i == 0) {
        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://mamasybebes.tk/\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/layer>&quot ;
      } else {
        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"><\/layer>&quot ;
      }
    } else if (ie4up||ns6up) {
      if (i == 0) {
        document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://www.yomaster.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>&quot ;
      } else {
        document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>&quot ;
      }
    }
  }
 
  function snowNS() {  // Netscape main animation function
    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.7 + Math.random();
        doc_width = self.innerWidth;
        doc_height = self.innerHeight;
      }
      dx[i] += stx[i];
      document.layers["dot"+i].top = yp[i];
      document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i] ;
    }
    setTimeout("snowNS()", 10);
  }

  function snowIE_NS6() {  // IE and NS6 main animation function
    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.7 + Math.random();
        doc_width = ns6up?window.innerWidth : document.body.clientWidth;
        doc_height = ns6up?window.innerHeight : document.body.clientHeight;
      }
      dx[i] += stx[i];
      if (ie4up){
      document.all["dot"+i].style.pixelTop = yp[i];
      document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i] ;
      }
      else if (ns6up){
      document.getElementById("dot"+i).style.top=yp[i];
      document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i] ;
      }   
    }
    setTimeout("snowIE_NS6()", 10);
  }

  if (ns4up) {
    snowNS();
  } else if (ie4up||ns6up) {
    snowIE_NS6();
  }

    </script>

Avatar Image
Machacateclados
Machacateclados

Yo tengo el codigo javascript de esta web y me pasaba lo que a vosotros que no me salia nada de nada, y no entendia el porque.

http://www.webexperto.com/articulos/art/176/efecto-nieve/

Pues bien, lo que teneis que hacer, es eliminar el codigo de nieve que teneis insertado en la cabecera del codigo HTML del foro, si es que teneis puesto el que no os funciona y estais a la espera de que algun dia empiece a funcionar...

1- Eliminais el codigo, le dais a guardar.
2- Volveis a general a cabecera otra vez, vais a la web que he puesto arriba, y copiais el codigo de nieve tal cual.
3- En snow.gif, para probar copiais la direccion de alguno de los copos que os salen abajo de la pagina, pero de prueba. Y le dais a guardar.
4- Os tiene que salir ahora la nieve.

(Todos los pasos directamente desde Cabecera HTML de Foro.)

Si haceis cualquier cambio HTML en general, tendreis que volver a hacer los pasos que he dicho con anterioridad, porque la nieve deja de funcionar, nose porque, pero es asi.

Un saludo y felices fiestas!

Masiii
Usuario habitual
Usuario habitual

¿Qué variable hay que cambiar en el codigo de webexperto para que la nieve caiga por toda la página web entera y no solo hasta donde llega la ventana?

Gracias

Avatar Image
Usuario habitual
Usuario habitual
Escrito originalmente por Raisa92

¿Qué variable hay que cambiar en el codigo de webexperto para que la nieve caiga por toda la página web entera y no solo hasta donde llega la ventana?

Gracias

sino me equivoco :

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

Azul : Ancho
Rojo : Tamaño en pixels
Verde : Altura

El que tienes que cambiar es el verde... lo que dice ese trozo es que a la altura 800 se borren las imagenes

bye
Avatar Image
Usuario habitual
Usuario habitual

Vaya aún no puedo editar en fín.. que algun mod me lo junte y  ya esta..

Pues resulta que he probado lo que te dije anteriormente.. y sigue desapareciendo :S

Hem... no tengo mucho tiempo libe.. pero si puedo te lo miro mas detenidamente

bye

Masiii
Usuario habitual
Usuario habitual

vale, muchas gracias

Masiii
Usuario habitual
Usuario habitual

Me parece raro que no se pueda hacer eso pero sino tendré que buscar algun codigo que funcione y que llegue hasta el final de la pag

Avatar Image
Usuario habitual
Usuario habitual
A mi me salio a la primera, gracias! Y creo que incluso prefiero que no lleggue la nieva mas abajo, asi no se mezcla con los textos ^^
ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 13/Feb/2020, 06:16
retrocores0915Feb/20
Por: , el 15/Nov/2016, 11:58
fb@10000119476211502kNov/16
Por: , el 27/Sep/2014, 19:15
GUAPETON197902kSep/14
Por: , el 20/Abr/2014, 00:42
GUAPETON1979 Thamy.44 danielalcolea32kApr/14
Por: , el 05/Dic/2013, 21:36
DIUSK NoSetup.org32kMar/14