很酷的变色文字
代码提示:将下面代码复制到<body>中
第一步:把如下代码加入<body>区域中 <style> .F1 {filter: glow(Color=#FF8000,Strength=10); width=200px; height=200px;} .F2 {filter: glow(Color=#00FF00,Strength=9); width=150px; height=200px;} .F3 {filter: glow(Color=#0080FF,Strength=12); width=250px; height=200px;} </style> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var rate = 1000 // do not edit below this line var i = 0; var F = 'F1'; function doThing() { if (document.getElementById&&document.all) { ok = true; i++; if (i==1) F = 'F1'; if (i==2) F = 'F2'; if (i==3) F = 'F3'; YammaYamma.className = F; if (i > 2) i = 0; timer = setTimeout('doThing()', rate); } } // End --> </script> <span id="YammaYamma"> <b>欢迎光临国港科技</b> </span> 第二步:修改<body***>中的内容,将下面的代码加入原<body***>中 onLoad="doThing()"
欢迎光临国港科技
本站浏览量: