一个简单地模拟打印方式输出内容的功能:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="typewriter.js"></script>
<script type="text/javascript">
$(function(){
//alert("helo");
$("#box").typeWriter();
});
</script>
页面代码实例
<body>
<section id="box">
<span> In the Orient young bulls are tested for the fight arena in a certain manner. Each is brought to the ring and allowed to attack a picador who pricks t