Since I installed Adblock Plus for firefox (Add-ons to block advertisement), every animation powered by scriptaculous doesn't work anymore (not only on my website).
Now that I know it, I'm looking for a way to check if a javascript function was not completed (like the one that I call for my scriptaculous animations).
<script type="text/javascript">
function scriptaculous(){
new Effect.Morph("thumb_id", { style: "height:300px;", duration: 0.8 });
}
function enlarge_thumbnail(){
scriptaculous();
// if( scriptaculous() was not completed ){
document.getElementById("thumb_id").style.height = "300px";
// }
}
</script>
The real problem is that I can't only call the both of them because the first one bug and prevent the second one to load. Anyone knows how to deal with that??