※ 漂亮動畫 ※
   加入網頁步驟  
 
  1. 下載本檔 257.zip

  2. 將此壓縮檔用 winzip6.2 以上版本解開(用 winzip6.2 才不會出現長檔名不完全的情形),解壓縮到您放網頁的目錄中。(假設您網頁放在www目錄中,就將此壓縮檔解到www目錄中)

  3. 將以下的控制碼複製到您的網頁中:(用滑鼠將底下的一堆碼,標記起來,按滑鼠右鍵選擇【複製】,然後在您的網頁中,選個好地方貼上就行啦!)

  4. 然後在網頁中的 <BODY> 之後將剛剛複製的東西貼上就大功告成了  !(按滑鼠右鍵選擇【貼上】就行啦!)

Copyright Power Information All Rights Reserved.

※漂亮動畫展示區※


<script language="JavaScript">
<!--wenchin
if (document.all){
kg=new Image();
kg.src="Aring.gif";
document.write('<span id="rings" style="position:absolute;top:0px;left:0px">'
+'<img src="Aring.gif" name="kg" style="position:relative"></span>');
var TimeLinethree = 85;
var TimeLineTwo = 0;
var TimeLineOne = 0;
var ThreeStep = 2.1;
var TwoStep = 5.5;
var OneStep = 2.5;
var xp = 100;
var yp = 100;
function SmokeRing(){

document.all.rings.document.images["kg"].style.filter='alpha(opacity='+TimeLinethree+')';
document.all.rings.document.images["kg"].style.top=yp + (-TimeLineOne);
document.all.rings.document.images["kg"].style.left=xp + (-TimeLineOne);
document.all.rings.document.images["kg"].width=TimeLineTwo;
document.all.rings.document.images["kg"].height=TimeLineTwo;

TimeLinethree-=ThreeStep;
TimeLineTwo+=TwoStep;
TimeLineOne+=OneStep;
setTimeout('SmokeRing()',10);
if ((TimeLineTwo > 380) || (TimeLineOne > 380) || (TimeLinethree < 0))
{TimeLineTwo=0;TimeLineOne=0;TimeLinethree=85;


stop=window.document.body.clientHeight-280;
sleft=window.document.body.clientWidth/2.5;//?
yp=Math.round(Math.random()*stop);
xp=Math.round(Math.random()*sleft);
document.all.rings.style.top=yp+document.body.scrollTop;
document.all.rings.style.left=xp+document.body.scrollLeft;
}
if ((yp < 80) || (xp < 80))
{
yp+=80;
xp+=80;

}
}
if (document.all)SmokeRing();
// -->
</script>