Not really a mistake this time. When this script was written, Mozilla based browsers (like FF today, NS 6 was the one at that time) were notoriously slow at doing the repetitive math required for these type of scripts. This code was used to limit the number of 'flakes' to 12 in those browsers:
Code:
if (d.documentElement.style &&
typeof d.documentElement.style.MozOpacity == "string")
num = 12;
If you remove it or comment it out:
Code:
/*if (d.documentElement.style &&
typeof d.documentElement.style.MozOpacity == "string")
num = 12;*/
That limitation will be removed. Worked fine on my FF 1.0.0.11 with a fast processor and 130 'flakes'. Some folks may have problems though. Try to use as few 'flakes' as possible to get your desired effect.
Bookmarks