Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My script as below:
-----------------
JavaScript
<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>


My HTML code is below:
---------------------
ASP.NET
<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>


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....
Posted
Updated 24-Oct-12 22:35pm
v2

1 solution

It won't. RevealTrans Filter[^] is IE specific.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900