![]() Preserved Topic: Preload |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: oslo, Norway |
![]() i just made a preload script, in the script i run a preload check if the picture is realy loaded it returns true if i run it localy and false if i run it troug the internet |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() You're running the script to check if they've loaded immediately after you write the image tags. Locally, the images are loaded so fast that the tests return true - because the images are loaded right when the image tags are written. Over the internet, however, it takes the images longer to load, so they haven't loaded by the time the loadimages() function is called. |
Paranoid (IV) Inmate From: oslo, Norway |
![]() Thanks, slime |
Neurotic (0) Inmate Newly admitted |
![]() just as a very small side note: do you know that all your tut links are broken? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() As a slightly bigger side note, you may also be interested to know about the image.onload event: |
Paranoid (IV) Inmate From: oslo, Norway |
![]() Yes i know dark, this page is not finish at all. it just a project i made for learning javascript and php |