hwg-basics archives | Nov 1999 | new search | results | previous | next |
G'Day Pam, At 13:57 16/11/99 -0600, Pam Mather wrote: >is there some sort of java type thing that will fade in a graphic after the >rest of the page has loaded? This could be tricky! One option is to simply create an animated gif, which does not loop, and in which the delay before the fade-in effect allows the rest of the page to download. Unfortunately it will be difficult to anticipate the download time of all users. You might be able to do something similar using the lowsrc attribute of an IMG, although this isn't exactly kosher HTML and there is no guarantee it would occur after the page had downloaded. Alternatively, you could use an image-swapping function triggered by the onLoad event. This would guarantee the effect occured after the page was fully downloaded - unfortunately it wouldn't fade in if Javascript was disabled. Chris Higgs <c.higgs(at)landfood.unimelb.edu.au> Institute of Land and Food Resources University of Melbourne http://www.landfood.unimelb.edu.au Firefighter, Werribee Fire Brigade, CFA
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA