Click to See Complete Forum and Search --> : onDownloadDone Event & Images


Geat
10-23-2003, 02:41 AM
I'm making a site that has a DIV whose contents are changed when the user makes a choice from a SELECT box.

I change the contents on the DIV when the "onDownloadDone" event occurs, and that's fine. The problem is, the event is triggered when the HTML source finishes loading, and does not take images into account.

This is fine for regular web pages, but I'm using a transition effect to swap between the DIVs, so it would be nice to have the images load before the content change takes place.

Does anyone have any ideas?

Fang
10-25-2003, 01:25 PM
Testing for object (img) availability could be the solution.