![]() Preserved Topic: finished dling (Page 1 of 1)  | 
  |
|---|---|
| 
       Nervous Wreck (II) Inmate From: Pa, US  | 
    
       
  posted 08-09-2001 20:07
      
      Does anyone know how I could  check to see or wait until all the images and stuff that need to be downloaded are finished?  I have stuff that uses the properties of the downloaded images, but it doesnt help much when it hasnt finished loading yet and gives me 0s for a width when it should be something else.  | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 08-09-2001 20:12
      
      
     | 
  
| 
       Nervous Wreck (II) Inmate From: Pa, US  | 
    
       
  posted 08-10-2001 01:45
      
      um..  all the loading is done by a function called from <body onload>, and it loads all the images, then goes on to set the other initializing stuff I got going after it, but it isnt always done dling as it goes on to do the rest is what Im saying..  | 
  
| 
       Lunatic (VI) Mad Scientist From: Massachusetts, USA  | 
    
       
  posted 08-10-2001 01:51
      
      Ah, here's the thing. There's no point loading your page and then loading your images after - do it all at once! Put the contents of fn_1 in just regular script tags.  | 
  
| 
       Nervous Wreck (II) Inmate From: Pa, US  | 
    
       
  posted 08-10-2001 06:41
      
      yeah.. that just might do it... thanks a lot!  | 
  
| 
       Maniac (V) Mad Scientist From: 100101010011 <-- right about here  | 
    
       
  posted 08-10-2001 06:52
      
      Actually there is a point to loading images after the page loads.   If you have a lot of basic mouseovers and run a preloader before the page finishes loading it's going to hold up the loading of the rest of the page.  | 
  
| 
       Lunatic (VI) Mad Scientist From: Massachusetts, USA  | 
    
       
  posted 08-10-2001 14:24
      
      I believe if you put the images to be loaded in script tags at the *end* of your page, they'll load last.  | 
  
| 
       Paranoid (IV) Mad Scientist From: Somewhere over the rainbow  | 
    
       
  posted 08-10-2001 14:55
      
      The poster has demanded we remove all his contributions, less he takes legal action.  | 
  
| 
       Nervous Wreck (II) Inmate From: Pa, US  | 
    
       
  posted 08-10-2001 22:44
      
      Thanks for the help...  the only thing I couldnt figure out was where to put the document.images thing.  It seemed to return true no matter where it was.  | 
  
| 
       Maniac (V) Mad Scientist From: 100101010011 <-- right about here  | 
    
       
  posted 08-11-2001 01:32
      
      (document.images) ? true:false   |