Este es el codigo completo
Código:
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<title>Documento sin título</title>
<style type="text/css">
<!--
body {
background-color: #000;
}
.link-noticias { color: #CCC;
text-decoration: none;
font: Arial;
font-size: 16px;
font-family: Tahoma;
}
A:link {
text-decoration:none;
color: #FF0;
}
A:hover {
text-decoration:underline;
}
-->
</style>
</head>
<body>
<div id="datacontainer" style="position: absolute; top: 11px; left: 10px; width: 652px; visibility: visible; height: 250px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000;" onMouseOver="scrollspeed=0" onMouseOut="scrollspeed=cache" class="texto">
<table width="614" border="0" class="">
<tr>
<td width="608"><strong><span class="link-noticias">Encuentran nueve cadaveres colgados de un puente en mexico.... <a href="#">mas info</a></span></strong></td>
</tr>
<tr>
<td><strong><span class="link-noticias">El Samsung Galaxy Nexus ya esta en colombia... <a href="#">mas info</a></span></strong></td>
</tr>
<tr>
<td><strong><span class="link-noticias">La corte constitucional considera excequible ley de regalias... <a href="#">mas info</a></span></strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</body>
</html>
<script language="javascript1.2">
//Specify speed of scroll. Larger=faster // (ie: 5)
var scrollspeed=cache=1
function initialize(){
marqueeheight=document.all? parent.document.all.datamain.height : parent.document.getElementById("datamain").getAttribute("height")
dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")
dataobj.style.top=230
thelength=dataobj.offsetHeight
setTimeout("scrolltest()",200)
}
function scrolltest(){
dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed
if (parseInt(dataobj.style.top)<thelength*(-1))
dataobj.style.top=230
setTimeout("scrolltest()",40)
}
window.onload=initialize
</script>