网页之不断弹射的文字-特效
<style type="text/css">#supertext { iW\rJ,C:|e9r%\
position:absolute;]s1p4r7a5o
left:0;
top:0;t4C:e @)elQQN
visibility:hide;
visibility:hidden;+Q2],}"Y&c+y1_{
}
</style>Ff0d ~J8Q9Q:\ey
<script language="JavaScript1.2">O!a(Y9T+L8F+B
<!-- 改变下的字体的大小。颜色-->*}([@!yAo.z$A6O)?m
var thecontent='<h2><font size="2" face="宋体" color="FF0000">欢迎光临七色风网页家园</font></h2>'ot[L"d4^X
var hidetimer='';[G!XC[ b H
<!-- 改变下的弹跳速度-->
var BallSpeed = 20;2R OZSG9P
var contentWidth;1ZD6X&O0r!M
var contentHeight;,]K*~I(i q'mB(K
var maxBallSpeed = 50;
{1C9P._c!l*Dl
var xMax;
var yMax;
var xPos = 0;0T;bZ Sr6Ap4Sz
var yPos = 0;,TV?1ki$L
var xDir = 'right';0@+V$M[lh-d8Oh
var yDir = 'down';)~OXwP }
var superballRunning = true;SY!_ AcLot
var tempBallSpeed;5Fr*sbx
var currentBallSrc;:C\E L)w'm
var newXDir;x-WK&~ S,`
var newYDir; }z}5x;]9f vhK
function initializeBall() {
if (document.all) {w GH&F a6ZH D
xMax = document.body.clientWidthQ/cfG\n9x"z9w6a
yMax = document.body.clientHeightM;`1A5Dm
document.all("supertext").style.visibility = "visible";
contentWidth=supertext.offsetWidth]7rp;tU_dHC
contentHeight=supertext.offsetHeight R+E'tw"w
}
else if (document.layers) {i+?A\ p.~?ENgu
xMax = window.innerWidth;O NC1p E_
yMax = window.innerHeight;