HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Delay Image Load
Post new topic   Reply to topic    HTML Help Forum -> Images & Graphics
View previous topic :: View next topic  
Author Message
nanwich



Joined: 30 Dec 2006
Posts: 6

PostPosted: Sat Dec 30, 2006 5:59 pm     Delay Image Load Reply with quote

I am building a web site for our club. Several members are using dial-up and older browsers (IE4), so I have to be careful with images especially.

I want to include an animated GIF on the home page, but because of dial-up users, I would like the page to display before the image is loaded. Is there any way to delay the load until after the rest of the page is displayed? Don't assume the user has any idea how to change their options (even if they can - WebTV).
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Sun Dec 31, 2006 6:43 am     Reply with quote

You can use CSS to position the image absolutely (not recommended though) and then put the code to the image at the very end of the page.

_________________
Corey
Toll Fax Numbers | Merchant Accounts | Microsoft Expressions


Last edited by Corey Bryant on Sun Dec 31, 2006 9:37 am; edited 1 time in total
nanwich



Joined: 30 Dec 2006
Posts: 6

PostPosted: Sun Dec 31, 2006 7:12 am     Delay Image Load Reply with quote

No, I cannot put it at the end. Nor will absolute positioning work due to the wide variety of browsers I must support. There must be some way to delay the load, even if it has to be with a Java script. I have actually considered using a redirect and an almost exact duplicate of the page.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Sun Dec 31, 2006 9:39 am     Reply with quote

And that was why I did not recommend it. Wih the older browsers you would basically have to come up with a weird way. Even with JavaScript - you are going to be running an uphill battle because the older browsers not supporting it properly

_________________
Corey
My Merchant Account Blog | Merchant Accounts
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> Images & Graphics All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial