function changeFade(i)
{
$(#logo).fadeTo(fast,1-i/1);
$(#percentage).html(i/100 + '%');
i += 100;
if (i=1)
setTimeout(changeFade(i),100);
}
$(document).ready(function(){
alert('test');
$(#logo).css('opacity','0.01');
changeFade(100);
}
You need to wait
It works like a charm! Thanks a lot! =)
On 23 Dec, 16:24, Dave Methvin dave.meth...@gmail.com wrote:
function changeFade(i)
{
$(#logo).fadeTo(fast,1-i/1);
$(#percentage).html(i/100 + '%');
i += 100;
if (i=1)
setTimeout(changeFade(i),100);
}
2 matches
Mail list logo