1、以下代码放在html的<head></head>之间:
<script language=javascript>
<!--
function checkbrowserforversion4(){
var x=navigator.appversion;
y=x.substring(0,4);
if(y>=4) effect();}
var isnav=(navigator.appname.indexof(netscape)!=-1);
var colors=new array
(ffffff,ffffff,ffffff,ffffff,ffffff,ffffff,ffffff,f9f9f9,f1f1f1,e9e9e9,e1e1e1,d9d9d9,d1d1d1,c9c9c9,c1c1c1,b9b9b9,b1b1b1,a9a9a9,a1a1a1,999999,919191,898989,818181,797979,717171,696969,616161,595959,515151,494949,414141,393939,313131,292929,212121,191919,111111,090909,000000)
a=0,b=1
function effect(){
color=colors[a];
//*改改下面的文字内容即可,可使用html语法,但是注意引号不要混用。双引号内是单引号。*//
aa=<font size='5'><font face='arial, helvetica, sans-serif'><font color=+color+>save page and get code !<p>enjoy all these free javascripts ......</font></font></font>
if(isnav) {document.object1.document.write(aa);document.object1.document.close();}
else object1.innerhtml=aa
a+=b;if (a==38) b-=2;if (a==0) b+=2;xx=settimeout(effect(),10);}
//-->
</script>
====2、以下代码放在html的<body></body>之间[适当的位置]:
<body onload=checkbrowserforversion4() >
<div id=object1 style=position:absolute; visibility:show; left:181px; top:113px; z-index:2></div>
2025国考·省考课程试听报名