Click to See Complete Forum and Search --> : script for automatic page refreshing required please help


trickyfish
04-25-2003, 09:52 AM
i really need a script that refreshes the browser just once as soon as it opens the page.

cant believe its such a complicated script.

the reason i need this, is because i have an animated gif on the page that doesn't loop therefore only runs once. i only want it to run once. but because it stores in the cache, when you reload the page from the previous link the last frame of the animation is shown in the browser.

by clicking refresh th gif runs through again but i don't a person viewing to have to click refresh, i just want the gif to run from when it opens.

if anyone can help it would be amazing.

i have attached the gif so u understand

AdamBrill
04-25-2003, 10:32 AM
Try putting this in the <head>:<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">Then it should reload rather than opening it out of the catche...