Image Reuse

  • Thread starter Thread starter Darren
  • Start date Start date
D

Darren

How would I assign an IMG tag's image using a preloaded image?

I have no event to do it on, I just want to use the same image multiple
times.
 
Put the code in the OnLoad event of the body.

That said, you can just assign it the exact same URL and the image will be
loaded from cache instead of the web. You can prove this to yourself by
watching your network traffic (e.g. see www.fiddlertool.com/fiddler/)

--
Thanks,

Eric Lawrence
Program Manager
Internet Explorer Trust

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top