0

Dear all ,
Please help me out, i am using scriptaculous in my script. But it is giving error to me that Effect is not defined .

<head>
<script type="text/javascript" src="/js/prototype.js"></script>
        <script type="text/javascript" src="/js/scriptaculous.js?load=effects"></script>
        <script type="text/javascript" src="/js/effects.js"></script>
    function only_refresh(){
     // Some code .
     var fade_in = setInterval("fade_in()",5000);
     }
function fade_in(){
                        new Effect.Appear("div_id", {duration:2, from:0, to:1.2});
                        //fadeout.delay(1000);
                }
 </head>

Please help ...
Thanks in advance.

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by gskoli
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.