placa geforce latin@ bebé

Registrado: 11 Feb 2007 Mensajes: 5
|
Publicado: Dom Feb 11, 2007 7:34 am Asunto: [Tutorial] Poner noticias, fecha y hora en tu foro |
|
|
hoy vamos a aprender como poner noticias, fecha y hora en un mismo foro para que no ocupe mucho espacio... es facil, es codigo ya esta armado... lo unico que tenemos que crear un foro nuevo (si es que no lo tenemos) y en la descripcion ponemos:
| Código: | <table width="559" height="1" border="0">
<tr>
<td width="237" height="1" align="left" valign="top"><p style="margin-top: 0; margin-bottom: 0" align="center">
<SCRIPT>
var bae_bgcolor= "#8C8C8C";
var bae_width="350";
var bae_cantidad="4";
var bae_showhead6=0;
var bae_bgcolorhead6="#FFAA4A";
document.write('<style type=text/css>');
document.write('<!--');
document.write('.ib_fecha6 { font-family: Arial; font-size: 10px; color: #131313}');
document.write('.ib_titulo6 { font-family: Arial; font-size: 12px; color: #000000; text-decoration:none;}');
document.write('.ib_head6 { font-family: Arial; font-size: 12px; color: #606060}');
document.write('-->');
document.write('</style>');
</script>
<script src="http://www.infobae.com/adjuntos/noticias/0000006.js"></script>
</td>
<td width="312" height="1" align="center" valign="top">
<embed src="http://www.relojesflash.com/swf/clock11.swf" wmode="transparent" type="application/x-shockwave-flash" height="75" width="75" border="1"></embed><br>
<script>
var dayarray=new Array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado")
var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre")
function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
//ahí podés cambiarle el color y el tamaño de este coso dentro de la etiqueta <font>. Si no lo querés en negrita, sacale las etiquetas b.
var cdate="<font color='000000' size='1' face='tahoma'><b>"+dayarray[day]+", "+daym+" de "+montharray[month]+" "+year+"</b></font>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}
</script>
<span id="clock"></span>
<body onLoad="goforit()">
</td>
</tr>
</table>
<a href="http://www.lenguajebinario.com.ar"><font size="1">Lenguaje Binario</font></a> |
y ya esta... le quedara mas o menos asi...
espero les guste...
saludos _________________ Si tienen problemas sobre computacion no dudes en consultarnos en nuestro portal...
www.lenguajebinario.com.ar |
|