脚本在FF不起作用 [英] Script not work at FF
本文介绍了脚本在FF不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的脚本如下:
-----------------
My script as below:
-----------------
<script type="text/javascript" language="javascript">
function go()
{
C1.filters[0].Apply();
if (C1.style.visibility == "visible") {
C1.style.visibility = "hidden";
C1.filters.revealTrans.transition=2;
}
else {
C1.style.visibility = "visible";
C1.filters[0].transition=3;
}
C1.filters[0].Play();
}
</script>
我的HTML代码如下:
---------------------
My HTML code is below:
---------------------
<body>
<form id="form1" runat="server">
<input type = "button" id = "btn" value = "Click me!" önclick = "go();" />
<div id="C1" style="removed:relative;visibility:visible;filter:revealTrans(duration=2,transition=3);width:300px;height:300px; background-color:lightgreen;<br mode=" hold=" /> position:relative;top:100px;left:100px">
</div>
</form>
</body>
在这些代码上方可以在IE-6.0上正常工作,但不能在FF-14.0及更高版本上工作.不会触发按钮的点击事件.
请帮助任何对我至关重要的人....
Above those code are fine work at IE-6.0, but not work at FF-14.0 & not fire the click event of the button.
Please Please help me anybody as vital to me....
推荐答案
不会. RevealTrans筛选器 [
It won''t. RevealTrans Filter[^] is IE specific.
这篇关于脚本在FF不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文