Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/02/2002, 13:26
bet
 
Fecha de Ingreso: febrero-2001
Mensajes: 292
Antigüedad: 24 años
Puntos: 0
Re: ¿Como hacen eso?

Acá te dejo el código

<html>
<body>
<!-- Copiar dentro del tag BODY -->
<script language="JavaScript1.2">

// Ancho (pixeles)
var marqueewidth=150
// Alto
var marqueeheight=150
// Velocidad (mayor, mas rapido)
var speed=2
// Contenido
var marqueecontents='<font face="Arial"><strong><big&gt ;Gracias por visitar <a href="http://www.webtutorial.com.ar">WebTutorial.</a> Si encontrás este programa útil, decile a tus amigos que lo descarguen de <a href="download/scriptmaster.zip">este lugar.</a> Que lo disfrutes!</big></strong></font>'

if (document.all)
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marque eheight+'">'+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.w rite(marqueecontents)
document.cmarquee01.document.cmarquee02.document.c lose()
thelength=document.cmarquee01.document.cmarquee02. document.height
scrollit()
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.top>=t helength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.top=marque eheight
scrollit()
}
}

window.onload=regenerate2
</script>

<ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
<layer name="cmarquee02" width=&{marqueewidth}; height=&{marqueeheight};></layer>
</ilayer>
</body>
</html>

<hr noshade size=1><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">bet[/CODE]