Sure, very near the end of the head code you will see a block of code that looks like this:
Code:
if (customcollect.length==1)
setInterval("jiggleit(0)",80)
else if (customcollect.length>1)
for (y=0;y<customcollect.length;y++){
var tempvariable='setInterval("jiggleit('+y+')",'+'100)'
eval(tempvariable)
}
}
Just replace it with this:
Code:
if (customcollect.length==1){
jig=setInterval("jiggleit(0)",80)
setTimeout("clearInterval(jig)",5000)
}
else if (customcollect.length>1)
for (y=0;y<customcollect.length;y++){
var tempvariable='jig'+y+'=setInterval("jiggleit('+y+')",100)'
eval(tempvariable)
tempvariable='setTimeout("clearInterval(jig'+y+')",5000)'
eval(tempvariable)
}
}
The numbers 5000 stand for how many milliseconds the effect will last for. In this case, 5 seconds.
Bookmarks