DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> JavaScript入門知識 >> JavaScript綜合知識 >> JS實現QQ圖片一閃一閃的效果
JS實現QQ圖片一閃一閃的效果
編輯:JavaScript綜合知識     

<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>無標題文檔-學無憂(www.xue51.com)</title>
</HEAD>
<BODY>
<IMG id="imgId" style="visibility:visible " src="LOGO1.gif">
<SCRIPT language="javascript">
function showImg()
{
    if(imgId.style.visibility == "visible")   
//如果可見,則隱藏
        imgId.style.visibility = "hidden";
    else
        imgId.style.visibility = "visible";   
//設置圖像可見
    setTimeout('showImg()',300);              
//間隔的毫秒
}
showImg();
</SCRIPT>
</BODY>
</HTML>

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved