[Javascript] image preloader doubt

Troy III Ajnej trojani2000 at hotmail.com
Thu Jul 20 09:36:44 CDT 2006


Suresh,
There is no way you can preload images to RAM.
The standard preload procedures will cache images first, not load into RAM.
You see, RAM is more like your credit card, not like the money you carry on.
Everything you download from the net, will go strait into the cache, the pocket,
client HDD. Than the browser will read requested data and display them.
So you don't have to worry about the client capability, the browser can handle 
any size of data limited only by the clients free disk space.
On the other hand, I would suggest that you invoke your image preloading script 
with the "onload" event, only after the page has loaded all the easy data and declare 
the dimensions of your image placeholders so the page finishes rendering faster.
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy III
progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Find out what India is talking about on Yahoo! Answers India.
_________________________________________________________________
Express yourself: design your homepage the way you want it with Live.com. 
http://www.live.com/getstarted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060720/a4a9241a/attachment.htm>


More information about the Javascript mailing list