Tests reveal that it is the size of the images, their height and width. Also using a smaller curpos+= value produces smoother results but, drags things out more, 1 was best for smoothness. 4 seemed like a good compromise but, it causes flashing which can be eliminated by changing this:
Code:
tempobj.style.MozOpacity=curpos/101
to this:
Code:
tempobj.style.MozOpacity=(curpos/100<1)?curpos/100:.99
Making the total modifications changing this:
Code:
curpos+=10
if (tempobj.filters)
tempobj.filters.alpha.opacity=curpos
else if (tempobj.style.MozOpacity)
tempobj.style.MozOpacity=curpos/101
to this:
Code:
if (document.getElementById&&!document.all)
curpos+=4 //set to NS/FF value
else
curpos+=10
if (tempobj.filters)
tempobj.filters.alpha.opacity=curpos
else if (tempobj.style.MozOpacity)
tempobj.style.MozOpacity=(curpos/100<1)?curpos/100:.99
Individual results may vary. Tax, tag and licensing fees may apply.
Bookmarks