vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: Image Preloading - View Topic
Topic Rating: *****
Printable View
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 36
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Image Preloading (19th Jan 10 at 12:37pm UTC)
How do you guys like to preload your bigger images to be used later?

A lot of the articles I keep finding are dated 1999 to 2000 :[
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Image Preloading (19th Jan 10 at 1:56pm UTC)
It's been a while since I did any image pre-loading {Tongue Out} With connection speeds getting faster it becomes less of an issue. I think the last time I did it we had the images written to a hidden <span> tag on the page (with JS) after everything else had loaded. They weren't particularly big images though, they were background images for a contact form that appears when a button is clicked.

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Image Preloading (19th Jan 10 at 2:16pm UTC)
I'd personally just use JS.

var i = new Image();
i.src = 'blah.jpg';
Aiken
Full Member
***

[Avatar]

Posts: 333
Status: Offline
Gender: Male
Location: In a very lonely place, the domain of despair
Age: 35
Joined:  
Reputation: 12%  


pmtwitterskypemsnyahooxfire
Re: Image Preloading (19th Jan 10 at 3:39pm UTC)
That is the method in my JS book

vF forums:
Perfect World RP
BLEACH Universe - Under Construction / Testing Phase
Xen Qarna RP - Stage I
Vyren Entar Battle Network RP - Under Construction / Maintenance Mode Enabled
the Final Anime Hideout
 Printable View

All times are GMT+0 :: The current time is 1:41am
Page generated in 0.2805 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums