[Javascript] An image loader nearly working except for IE

Guillaume javascript at webdesignofficina.com
Sat Jul 16 08:24:25 CDT 2005


Troy III Ajnej, thanks for your reply... Below added a few comments....

> All right guys, I love to see that this issue has become quite 
> important to the list.

There's a riot going on this subject...

> Thank's to the education level of the troulblesome programmer.
> I sudgest that he uses very old conventional HTML for non js enabled 
> browsers.
> taht is almost forgotten: <IMG LOWSRC='' SRC=''  don't know if lowsrc 
> is exact syntax because it is very old. But one can specify the low 
> res src image to load before the full res image gets loaded in the old 
> manner.

This was also suggested earlier by Roger... But this is part of another 
problem: loading large data on the web on slow connections... and part 
of another discussion, and i've made my choices for this option... But 
these personal choices will not interfere with the structure of the 
script: in fact this script will be able to display a loading message 
while an image loads, wether it's huge or tinny...This is the reason to 
be of this loading script: to be re-usable. That's exactly why it should 
stay clean and simple... I'd like to point here the fact that I would 
like to use this script on a personal site, wich has nothing commercial. 
I'm a single bandmaster on this one, as well as playing all 
instruments... I also think a good, simple and accessible preloading 
script is missing on the web... If this script is nicely packed, 
crossbrowser i see a lot of applications for it and i think many people 
will have interest in it...

> And as about Safari, I found out that it does support the readyState 
> through AJAX emulation, but I'm not sure if it works for IMG as well. 
> Never tested it.
>
> Anyway, your images are very big, so I will post (to you [for you, 
> once again] my original script for adobe acrobat style of scrolling] it).

I reduced the last version, just for you, from 1337 Ko to 197Ko...


> It has fewer than 12 lines of script so it will not overload your 
> page, no matter how you implement it (internaly or externaly)

Impatient to read it...

> . Because I too take good pictures from nature.


I have no doubts about that... In fact i was very lucky for this cliche...

>
> I might be wrong but I never bother my self further than IE and NN 
> compatibility, because I still think that these two browsers make up 
> 99.9% of all browsers that visit your page!


I would correct this proportion. It is,  around here in Europe, 90% for 
IE... the 10% remaining representing a lot of people ...

Thank you Troy... Looking forward to read from yours again.

Guillaume.

>
>
>> From: Guillaume <javascript at webdesignofficina.com>
>> Reply-To: "\[JavaScript List\]" <javascript at LaTech.edu>
>> To: "[JavaScript List]" <javascript at LaTech.edu>
>> Subject: Re: [Javascript] An image loader nearly working except for IE
>> Date: Sat, 16 Jul 2005 01:39:37 +0200
>>
>>
>> Flavio, thanks a lot for your help...
>> Roger is right i'd like to keep Js separate from the main document.
>> So on to the latest version 0.9.1.
>> I have added some comments, problems we are still facing, below the 
>> image and also reduced the it's weight to 200 Ko...
>> This version works in all major browsers on Mac and Pc except for IE.
>> If you want to have a look at the page 
>> <http://www.hablablow.com/devX/loadTest2/testXXX9.htm> and have any 
>> suggestions or comments...
>> They are all welcome.
>>
>> Thank you.
>>
>> Guillaume.
>> _______________________________________________
>> Javascript mailing list
>> Javascript at LaTech.edu
>> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list