<SCRIPT LANGUAGE="JavaScript">
<!--
function TagSample(s)
{
var source=event.srcElement;
if (source.tagName.toUpperCase() == "IMG")
{
if (s == 1)
{
source.style.border="1px solid #0000FF";
}
else
{
source.style.border="";
}
}
}
//-->
</SCRIPT>
<div onMouseOver="TagSample(1)" onMouseOut="TagSample(0)">
<IMG SRC="images/logo.gif" WIDTH="190" HEIGHT="70" BORDER="0" ALT="">
</div>
<!--
function TagSample(s)
{
var source=event.srcElement;
if (source.tagName.toUpperCase() == "IMG")
{
if (s == 1)
{
source.style.border="1px solid #0000FF";
}
else
{
source.style.border="";
}
}
}
//-->
</SCRIPT>
<div onMouseOver="TagSample(1)" onMouseOut="TagSample(0)">
<IMG SRC="images/logo.gif" WIDTH="190" HEIGHT="70" BORDER="0" ALT="">
</div>
标签:
tagName的使用,留一笔
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“tagName的使用,留一笔”评论...