Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Preloading Images w/o JavaScript
Old 03-05-2005, 12:24 AM Preloading Images w/o JavaScript
Phaedrus's Avatar
Ultra Talker

Posts: 271
Location: CA
Trades: 0
Something rather pointless which I figured out...

After a couple hours of trouble trying to preload images with JavaScript, I figured out that I can do the same thing just by including the images with no display:

<img src="whatever" style="display:none" />

So I guess that's a good way to preload images for people with JavaScript disabled, not that there's that many.
__________________

Please login or register to view this content. Registration is FREE
Phaedrus is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-05-2005, 05:16 PM
kline11's Avatar
SearchBliss Web Tools

Posts: 1,727
Name: John
Location: USA
Trades: 0
You can generate the preload images javascript code here for free.
http://www.searchbliss.com/webmaster..._generator.htm

The <img src="whatever" style="display:none" /> will just take up space and SE's may frown on it (hidden images) but this is a guess.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kline11 is online now
Reply With Quote
View Public Profile
 
Old 03-06-2005, 01:49 AM
Phaedrus's Avatar
Ultra Talker

Posts: 271
Location: CA
Trades: 0
Oh, no it's not that... I know how to preload images... I just have a comlex app with spaghetti code and include files and it was that stuff that was making it a headache to preload with javascript. So I just figured out a way that worked in my specific situation.
__________________

Please login or register to view this content. Registration is FREE
Phaedrus is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Preloading Images w/o JavaScript
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11690 seconds with 12 queries