The specific code is as follows: Copy code The code is as follows: code.js.cn <br>a <br>{ <br>display: block; <br>font-size: 15px; <br>line-height: 18px; <br>text-decoration: none; <br>color: #333; <br>font-family : Arial; <br>font-size: 12px; <br>} <br>.shell <br>{ <br>background:no-repeat 4px 5px; <br>border: 1px solid #aaa; <br>width : 400px; <br>padding: 3px 2px 2px 20px; <br>} <br>#div1 <br>{ <br>height: 36px; <br>overflow: hidden; <br>} <br></ style> <br></head> <br><body> <br><div class="shell"> <br><div id="div1"> <br><a> This is</a> <br><a>my</a> <br><a>first post</a> <br><a>blog</a> <br></div> <br></div> <br></body> <br><script> <br>var c, _ = Function; <br>with (o = document.getElementById ("div1")) { innerHTML = innerHTML; onmouseover = _("c=1"); onmouseout = _("c=0"); } <br>(F = _("if(# ||! c)# ,#%=o.scrollHeight>>1;setTimeout(F,# ?10:3000);".replace(/#/g, "o.scrollTop")))(); <br> </script> <br></html> <br> </div> <br>The scrolling frequency is controlled by setTimeout(F,# ?10:3000) 3000.