gregorinator wrote: >On 7/13/05, Guillaume <javascript at webdesignofficina.com> wrote: > > >> if ( img.complete ) { >> document.getElementById('loader').style.display = 'none'; >> } else { >> document.getElementById('loader').style.display = 'none'; >> } >> >> > >Maybe I'm missing the obvious, but it looks to me as though both >branches of the if wind up hiding the loader div, so it's going to get >hidden every time the function executes? I checked your sample page, >and it's the same there. > >gs > > Not so obvious because FF does the job as i want the script to be run... And Safari and Opera just execute what you mention. Two different ways of handling the script, why is that ? Guillaume. >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20050713/2f50358c/attachment.htm>