
ecco questa è la tua pagina completa
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#nome_id {
width: 150px;
height: 100px;
overflow: hidden;
padding: 10px;
background-color: #ccc;
}
.nome_classe {
position: relative;
font-size: 12px;
color: #000;
padding-top: 100px;
}
</style>
<script type="text/javascript" language="JavaScript1.2">
<!--
var sp=0;
var scrollon = true;
function swtScroll() {
if(scrollon) {
scrtext = (document.getElementById) ? document.getElementById("sctext") : document.all["sctext"];
maxp = (scrtext.offsetHeight) ? scrtext.offsetHeight : scrtext.style.pixelHeight;
sp--;
if (sp < -maxp) sp=0;
scrtext.style.top = sp;
}
setTimeout('swtScroll()',20); // larger number = slower scroll
}
function stop() { scrollon = false; }
function start() { scrollon = true; }
//-->
</script>
</head>
<body onLoad="swtScroll();">
<div id="nome_id" onmouseover="stop();" onmouseout="start();">
<div id="sctext" class="nome_classe">qui il testo</div></div>
</body>
</html>