Spartanicus <me@privacy.net> writes:
When using javascript [1] to display a different image (based on the
time of day) both IE and Moz re-execute the js when using the back
function to return to a page with the js on it, this results in users
having to load several images. Opera doesn't do this.
Is there a right or wrong regarding this UA behaviour?
No. There are no standards that say how browsers must behave when you
leave a page, or when you come back to it.
Opera keeps the page's state as long as it fits in memory, and allows
you to continue where you left it (I believe they clear password
fields for security, though). Other browsers reload the page from the
cache. Both are perfecly reasonable behaviors.
Any way to avoid this?
Use Opera :)
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'