Hi guys,
I'm working on a clever little script that adds a few useability gimmicks to my site. But one of the things I need to be able to do is to trigger a function when each of an array of images has been succesfully preloaded into the cache.
The preload script I'm using is Dreamweaver MX's default, it seems to work adequately enough to me (if you have any stories to the contrary then let me kno).
Now just say I'm preloading 5 images, now what I want to happen is each time one of these images makes it into the users cache I want it to call a function (lets call it 'MyFunc(id)'), and send it's 'id' (it's array number/position) as the argument.
In a previous thread Dracusis mentions something about myImage.complete boolean or something, I'm hoping this can help me out here.
Thanks guys