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.