Avatar Image
Usuario habitual
Usuario habitual

Bueno pues tengo un problema en mi foro. Veréis, hace unos días cambié el código de cabecera y ahora al parecer hay foreros que no ven el foro a pantalla completa sino que tienen qu utilizar la barra de desplazamiento. Unos dicen que lo ven bien desde ciertos ordenadores y en otros mal.

¿A qué puede ser debido? Yo lo veo bien.

Este es el código de cabecera:

<div align="center"><img src="https://espacioforos.miarroba.st/194658/cabecera/tittle.jpg"></center><center><table BORDER=0 COLS=1 WIDTH="900"><tr><td>

<BODY>

<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Original: Altan (snow@altan.hr) -->
<!-- Web Site: http://www.altan.hr/snow -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var no = 25; // snow number
var speed = 10; // smaller number moves the snow faster
var snowflake = "https://espacioforos.miarroba.st/194658/cabecera/snow.gif";

var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (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) {
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 = 0; // set coordinate variables
xp = Math.random()*(doc_width-50); // set position variables
yp = Math.random()*doc_height;
am = Math.random()*20; // set amplitude variables
stx = 0.02 + Math.random()/10; // set step variables
sty = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name="dot"+ i +"" left="15" &quotGiño;
document.write("top="15" visibility="show"><img src="&quotGiño;
document.write(snowflake + "" border="0"></layer>&quotGiño;
} else {
document.write("<layer name="dot"+ i +"" left="15" &quotGiño;
document.write("top="15" visibility="show"><img src="&quotGiño;
document.write(snowflake + "" border="0"></layer>&quotGiño;
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id="dot"+ i +"" style="POSITION: &quotGiño;
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: &quotGiño;
document.write("visible; TOP: 15px; LEFT: 15px;"><img src="&quotGiño;
document.write(snowflake + "" border="0"></div>&quotGiño;
} else {
document.write("<div id="dot"+ i +"" style="POSITION: &quotGiño;
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: &quotGiño;
document.write("visible; TOP: 15px; LEFT: 15px;"><img src="&quotGiño;
document.write(snowflake + "" border="0"></div>&quotGiño;
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp += sty;
if (yp > doc_height-50) {
xp = Math.random()*(doc_width-am-30);
yp = 0;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx += stx;
document.layers["dot"+i].top = yp;
document.layers["dot"+i].left = xp + am*Math.sin(dx);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp += sty;
if (yp > doc_height-50) {
xp = Math.random()*(doc_width-am-30);
yp = 0;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx += stx;
document.all["dot"+i].style.pixelTop = yp;
document.all["dot"+i].style.pixelLeft = xp + am*Math.sin(dx);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>

Avatar Image
Usuario habitual
Usuario habitual

pos no se tio con tanta letralocolocoloco

Avatar Image
Usuario habitual
Usuario habitual

Sera que algunos los bien todo en la pantalla y otros con la barra de desplazamiento por las distintas resolucion de pantalla que tiene cada uno configurado (800x600 y 1026x768)

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 21/May/2009, 21:27
Jose78bcn NoSetup.org Darioxhcx_0x3a2676May/09
Por: , el 09/Dic/2007, 19:47
Dufnorix chavp42kDec/07
Por: , el 17/Jun/2013, 12:36
helen20love Torry_II1774Jun/13
Por: , el 25/Sep/2010, 23:44
Ninttercarbios18 NoSetup.org12kSep/10
Por: , el 12/Jun/2010, 02:04
aprende.ceti demoniodehiel12kJun/10