首页上一页 1 下一页尾页 1 条记录 1/1页
javascript从入门到精通第9章例9.3在firefox下怎么没效果
发表在JavaScript答疑区
2013-10-16
是否精华
是
否
版块置顶:
是
否
javascript从入门到精通第9章例9.3在firefox下怎么没效果代码如下:
<body>
<script language="javascript">
<!--
function visible(cursor,i)
{
if (i==0)
cursor.filters.alpha.opacity=100;
else
cursor.filters.alpha.opacity=30;
}
//-->
</script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" bgcolor="#CCCCCC">
<img src="Temp.jpg" border="0" style="filter:alpha(opacity=100)" onMouseOver="visible(this,1)" onMouseOut="visible(this,0)" width="148" height="121">
</td>
</tr>
</table>
</body>
<body>
<script language="javascript">
<!--
function visible(cursor,i)
{
if (i==0)
cursor.filters.alpha.opacity=100;
else
cursor.filters.alpha.opacity=30;
}
//-->
</script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" bgcolor="#CCCCCC">
<img src="Temp.jpg" border="0" style="filter:alpha(opacity=100)" onMouseOver="visible(this,1)" onMouseOut="visible(this,0)" width="148" height="121">
</td>
</tr>
</table>
</body>