27/09/2004, 07:59
|
| | | Fecha de Ingreso: mayo-2004 Ubicación: En Un Lugar De La Mancha ...
Mensajes: 24
Antigüedad: 20 años, 8 meses Puntos: 2 | |
Tunait, creo haber hecho lo que dices, te pongo el código para que lo veas, y nada de nada. Pongo el código de toda la plantilla en tres partes, ya que no me entra en una sola.
Un saludo
Código:
{header}
<body link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" onload="escrolea()">
<table width="100%" border="0" bgcolor="#3D4348" cellpadding="0" cellspacing="0">
<tr>
<td width="37" rowspan="3" class="sambakiri"><img src="{template_url}/images/spacer.gif" alt="" width="37" height="19" /></td>
<td height="25" colspan="3"><table class="bordetalles1" bgcolor="#34393D" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}<b class="title">
<font color="BC9701">{lang_lightbox}</font></b></td>
<td height="25" align="right"> <script language="JavaScript">
function clearlightbox() {
if (confirm('{lang_delete_lightbox_confirm}')) {
location.href = "{url_delete_lightbox}";
}
}
</script> <a href="javascript:clearlightbox()"><b>{lang_delete_lightbox}</b></a>
</td>
</tr>
</table></td>
<td width="37" rowspan="6" align="right" valign="middle" class="sambakanan"><table width="37" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="37" height="91" align="right" valign="middle"><img src="{template_url}/images/sam_a_kanan2.gif" alt="" width="37" height="91"/></td>
</tr>
</table></td>
</tr>
<tr>
<td width="155" height="100%" class="backmenu3" valign="top"><table width="155" border="0" cellpadding="0" cellspacing="0" class="backmenu">
<tr>
<td class="menuhead"><img src="{template_url}/images/spacer.gif" alt="" width="155" height="30" /></td>
</tr>
<tr>
<td><table width="155" border="0" cellspacing="0" cellpadding="6">
<tr>
<td width="155" ><div align="center"></div>
<div align="center"></div>
<img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" />{user_box}</td>
</tr>
<tr>
<td><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="155" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="menuhead" height="30"><img src="{template_url}/images/spacer.gif" alt="" width="155" height="30" />{if
random_image}</td>
</tr>
<tr>
<td class="backmenu2" align="center" height="30">
<span id="liveclock">
</span>
<script language="JavaScript">
<!--
function show5(){
if (!document.layers&&!document.all&&!document.getElementById)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="PM"
if (hours<12)
dn="AM"
if (hours>12)
hours=hours-12
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here to your desire
myclock="<font size='3' face='Arial' color='#D8F9FF'><b><font size='1'>Hora actual:</font></br>"+hours+":"+minutes+":"
+seconds+" "+dn+"</b></font>"
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
else if (document.getElementById)
document.getElementById("liveclock").innerHTML=myclock
setTimeout("show5()",1000)
}
window.onload=show5
//-->
</script></td>
</tr>
<tr>
<td width="155" height="21" class="menuhead2"><div align="center"><strong><font color="#000000">::
Noticias ::</font></strong></div></td>
</tr>
<script language="JavaScript" type="text/JavaScript">
/*****************************************************************************
Scroll de noticias con foto. Script creado por Tunait! (27/3/2004)
Si quieres usar este script en tu sitio eres libre de hacerlo con la condición de que permanezcan intactas estas líneas, osea, los créditos.
No autorizo a publicar y ofrecer el código en sitios de script sin previa autorización
Si quieres publicarlo, por favor, contacta conmigo.
http://javascript.tunait.com/
[email protected]
******************************************************************************/
var ancho = 150 //anchura del cuadro
var alto = 80 //altura del cuadro
var marco = 1 //0 para que notenga marco (borde)
var fondo = '#FFFFFF' //color de fondo del cuadro
var pausilla = 2000 //tiempo de la pausa en milisegundos (2000 = 2 segundos)
var destino = "_blank" //target en donde se quiera que se carguen los enlaces, en caso de usarlos.
var cursor = "default;" //cursor que se quiera sobre el cuadro
var colTitular = '#006699' //color del texto del titular
var colTexto = '#999999' // color del texto de la noticia
var colFecha = '#3399FF' //color del texto de la fecha
var colEnlace = '#660000' //color del texto del enlace
var fuente = "arial" //fuente para los textos
var tamTitular = '14' //tamaño de la fuente del titular
var tamTexto = '12' //tamaño de la fuente del texto de la noticia
var tamFecha = '10' // tamaño de la fuente de la fecha
var tamEnlace = '11' // tamaño de la fuente del enlace
var alinImagen = 'center'//alineación de la imagen
var margImagen = '3'//margen alrededor de la imagen
var masInfo = true //Determina si se usa o no el enlace. true para usarlo. false para omitirlo
var poneFecha = true //true para poner fecha. false para omitirla. Si no se quiere fecha, dejar las comillas vacías ""
function noticia(titular,texto,fecha,enlace,destino,imagen)
{
this.titular = titular
this.texto = texto
this.imagen = imagen
this.fecha= fecha
this.enlace = enlace
this.destino = destino
}
var noticias = new Array()
noticias[0]= new noticia("Perico de los palotes se compra un perro.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","12/5/03","http://www.yahoo.es/","_blank","1.gif")
noticias[1]= new noticia(" Bartolo nunca tuvo una flauta. En realidad era una tuba. ","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","15/5/03","#","_blank","2.gif")
noticias[2]= new noticia("El caballo blanco de Santiago era blanco.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","17/5/03","http://www.altavista.com/","_blank","3.gif")
noticias[3]= new noticia("Quien a buen arbol se arrima se arriesga a que le caiga un rayo.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","23/5/03","http://www.forosdelweb.com/","_blank",null)
noticias[4]= new noticia ("Descubierto que 'andando' además de gerundio provoca cansancio.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","2/6/03","http://www.maestrosdelweb.com/","_blank",null)
noticias[5]= new noticia ("Ultima hora: Kojak debe su calvicie a la ausencia de pelo.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","5/6/03","#","_blank",null)
noticias[6]= new noticia("El perro de Perico se come la flauta del Bartolo y éste le reclama un palote.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","7/6/03","#","_blank",null)
noticias[7]= new noticia("Ahora se cree que los Reyes Magos en realidad eran tres.","blablá bla blablablá blas blábla blablá bla blablablá blas blábla blablá bla blablablá blas bláblablablá bla blablablá blas blábla","2/8/03","#","_blank",null)
Última edición por tripiyon; 27/09/2004 a las 08:02 |