Others may want to comment, I'm not sure of the syntax for NS prior to NS6, but, here's the mod, works in IE6 and NS7.2:
Change this line in the script:
Code:
setTimeout('fall()',20);
to this:
Code:
falling=setTimeout('fall()',20);
add this function:
Code:
function stop_leaves(){
clearTimeout(falling);
for (i=0; i < Amount; i++){
if (ns){
document.layers['sn'+i].visibility='hide'}
else if (ns6){
document.getElementById("si"+i).style.display='none'}
else{
document.all['si'+i].style.display='none'}
}
}
just above the line:
add this button to your page:
HTML Code:
<input type="button" value="Stop Leaves" onClick="stop_leaves();">
Bookmarks