文字向上滚动代码,带段落停顿

  • 带段落停顿效果的文字向上滚动代码,一个比较早的代码了,但觉得现在仍很常用,它可以定义文字成批次(段落)向上滚动,滚动后停顿,然后继续滚动,很不错啦,希望大家也喜欢。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>接触角测定仪title>
head>
<body bgcolor="#ffffff" onLoad="startVTextScroll()">
 <script language="JavaScript">

script>
<style type="text/css">

style>
<div id="vTextMain" style="width:162; height:130; position:absolute; top: 5; left: 5; visibility: visible; clip: rect(0 162 130 0); overflow: hidden; z-index: 2"> 
  <div id="vTextFirst" style="top:1; width:162;position:absolute; z-index: 1; padding: 1px 1px; visibility: visible; overflow: hidden; clip: rect(0 162 132 0)"> 
<script language="JavaScript">
document.write(vSlideContent[0])
script>
div>
<div id="vTextSecond" style="top:1; width:162;position:absolute; z-index: 0; padding: 1px 1px; visibility: visible; overflow: hidden; clip: rect(0 162 132 0)"> 
<script language="JavaScript">
document.write(vSlideContent[1])
script>
div>  
div>
body>
html>

 

转载于:https://www.cnblogs.com/youtianxia/p/3884233.html

你可能感兴趣的:(文字向上滚动代码,带段落停顿)