Hacha de Plata doble |
"> |
| Ketan | |
| Scrolling: ideal para insertar noticias o informar a nuestros visitantes - 25/2/2011, 9:43 am
Scrolling: ideal para insertar noticias o informar a nuestros visitantes de las actualizaciones de la web. Introduce este código dentro de las etiquetas y . Navegador recomendado Internet Explorer 5.0 - Código:
<script language="JavaScript1.2"> // ancho var marqueewidth=80 // alto var marqueeheight=80 // velocidad var speed=1 // contenido del scroll var marqueecontents='<font face="Arial" size="1">MUNDIAL DE COREA Y JAPON. Informate de todo lo que acontece la Copa del Mundo de fútbol en la sección de DEPORTES</font>' if (document.all) document.write('<marquee direction="up" scrollamount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>') function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers){ setTimeout("window.onresize=regenerate",450) intializemarquee() } } function intializemarquee(){ document.cmarquee01.document.cmarquee02.document.write(marqueecontents) document.cmarquee01.document.cmarquee02.document.close() thelength=document.cmarquee01.document.cmarquee02.document.height scrollit() } function scrollit(){ if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){ document.cmarquee01.document.cmarquee02.top-=speed setTimeout("scrollit()",100) } else{ document.cmarquee01.document.cmarquee02.top=marqueeheight scrollit() } } window.onload=regenerate2 </script> :whistle:
| Permisos de este foro: | No puedes responder a temas en este foro.
Código [IMG] está Activado Código HTML está Activado
|
|
|