JS完毕QQ图片一闪一闪的意义小例子,JS实现QQ图片
分类:前端操作

复制代码 代码如下:

<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>

<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>无标题文书档案</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>

HEAD META http-equiv=Content-Type content=text/html; charset=gb2312 TITLE无题目文书档案-学无忧(www.xue51.com)/title /HEAD BODY IMG id=imgId style=visibility:visible sr...

代码如下: HTML HEAD META http-equiv="Content-Type" content="text/html; charset=gb2312" TITLE无题目文档/title /HEAD BODY IMG id="imgId" style="visibility:visib...

本文由正版必中一肖图发布于前端操作,转载请注明出处:JS完毕QQ图片一闪一闪的意义小例子,JS实现QQ图片

上一篇:javascript获取鼠标地方有些的实例代码 下一篇:没有了
猜你喜欢
热门排行
精彩图文