trovato...se vi interessa:
codice:
<html>
<head><title>Scrolling a DIV with JavaScript</title>
<script language='javascript'>
function move_up() {
scroll_clipper.scrollTop = 65535;
}
</script>
</head>
<body>
Move UP
<div id='scroll_clipper' style='position:absolute; width:150px; height: 150px; overflow:auto'>
<div id='scroll_text' style='background-color:yellow'>
Here is some content that can be scrolled.
It uses two divs:<ul>[*]scroll_clipper, and[*]scroll_text[/list]
scroll_clipper defines the scroll area while scroll_text
defines the text to be scrolled.
Here is some content that can be scrolled.
It uses two divs:<ul>[*]scroll_clipper, and[*]scroll_text[/list]
</div>
</div>
</body>
</html>