Feedback on: irt.org FAQ Knowledge Base Q892
Comments:
I am using IE4 and Netscpae4.
I tried meta tag, it is does not work.
The other solution is for different image and not the same image reloading.
Worth:
Length:
Technical:
Comments:
warning: this will create an infinite loop when the image loads in the browser.
try it, you'll see the browser constantly hitting the server to refresh the image. use mac safari's activity window to watch the list of images accumulate... other browsers will show you the effect in their status bar.
it makes sense since each time the image loads it has to call "onLoad()" again. in the scenario i needed this trick for (refreshing a page that used an iframe to let the user upload a different picture that has the same name) i used this trick in an init() function called from the BODY's onLoad(). that way it only loads the images once.
Worth:
Very worth reading
Length:
Too short
Technical:
Just right
Comments:
Thank you for this trick.
Is it possible to reload the same named image only when there is new image in the server?
Thanks,
Dayakar