图片若隐若现
来源:互联网 发布:c语言布尔类型 编辑:程序博客网 时间:2024/05/06 21:03
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<script language="JavaScript" type="text/javascript">
function show(x)
{
if(x==1)
{
document.img.filters.alpha.opacity=100;
}
if(x==2)
{
document.im.filters.alpha.opacity=30;
}
}
</script>
</head>
<body>
<img src="Images/50026.gif" onmousemove="show(1)" onmouseout="show(2)" name="img" style="filter:alpha(opacity=30)">
</body>
</html>