网页之不断弹射的文字-特效
<style type="text/css">#supertext {
position:absolute; ~S"g;E?ObW W
left:0;"z%R { a2F-x `
top:0;lZ7iE ?ER"smG2S
visibility:hide;
visibility:hidden;Ch8T0{h|
}9~vm s-V|8f
</style>_-O|m-u&}
<script language="JavaScript1.2">.d}'h'K6bu+?&H H$W
<!-- 改变下的字体的大小。颜色-->
var thecontent='<h2><font size="2" face="宋体" color="FF0000">欢迎光临七色风网页家园</font></h2>' izRd8^
var hidetimer=''; Czyo@:B
<!-- 改变下的弹跳速度-->X H[Tc)v4rAF
var BallSpeed = 20;
var contentWidth; g g_5U e RL'`
var contentHeight;
var maxBallSpeed = 50;K5}7uW#?$s;|
#P f Q&d Ma9|5j
var xMax;
var yMax;Z-E/s#Lb
var xPos = 0;
var yPos = 0;tK8i vw
var xDir = 'right';E&p}`1kh3g b L
var yDir = 'down';6qjP)zb:H&di
var superballRunning = true;b~ RC)O.| f
var tempBallSpeed;VeAP8a'_
var currentBallSrc;%L"l)nLC i1J
var newXDir;
var newYDir;
function initializeBall() {B S$|"y0C0I"u
if (document.all) {
xMax = document.body.clientWidth
yMax = document.body.clientHeighttr[6I#b[ XB/A
document.all("supertext").style.visibility = "visible";
contentWidth=supertext.offsetWidth
contentHeight=supertext.offsetHeight3j9w~f,FOV
}9]/U#Xl/g1R%Ce
else if (document.layers) {mE0mxA.{4l:o&CbS:i
xMax = window.innerWidth;,C)}*^8K9D]
yMax = window.innerHeight;