网页之不断弹射的文字-特效
<style type="text/css">#supertext {#l4T$Jc.r n#St
position:absolute;?fDDbKF
left:0;M~Q$lf Tf'[`|
top:0;8} Y,aDjY
visibility:hide; Yh?~&K4G}:s/a
visibility:hidden;qx+Jr`Q2{(il
}
</style>'fe7]p!~$W
<script language="JavaScript1.2">d8G0ZGKWYL/sA
<!-- 改变下的字体的大小。颜色-->
var thecontent='<h2><font size="2" face="宋体" color="FF0000">欢迎光临七色风网页家园</font></h2>'
var hidetimer='';
<!-- 改变下的弹跳速度-->
var BallSpeed = 20;
var contentWidth;%Z1D-iz"h$~Mc\
var contentHeight;
var maxBallSpeed = 50;Bi{&KX ]t9Bj
var xMax;
var yMax;
var xPos = 0;e^oiA"}[
var yPos = 0;9XIXdNaR
var xDir = 'right';
var yDir = 'down';)Pv*t4U5K PE.h1p-N
var superballRunning = true;t6v__!R7B!xSs?4\
var tempBallSpeed;GSzXh
var currentBallSrc;)b3y;_Y7w"RIA A'K
var newXDir;$} t)B x-~ \W EfW
var newYDir;?4|*P3E#nR[ V-SLT
function initializeBall() {{,z h |%Dp~%Jb
if (document.all) {
xMax = document.body.clientWidth
yMax = document.body.clientHeight
document.all("supertext").style.visibility = "visible";+N!P8T EGW,t&n6h
contentWidth=supertext.offsetWidth t#@}W_}$M?
contentHeight=supertext.offsetHeight
}5QA|x:}
else if (document.layers) {
xMax = window.innerWidth;
yMax = window.innerHeight;
contentWidth=document.supertext.document.width