charliem
09-10-2007, 02:49 PM
Hi there. I am using swfobject and a random number generator for force a refresh for an xml driven slideshow for my website. ( the slides are updated weekly). Anyway, this appears to have done the trick in IE, but nothing has changed in Firefox...it is still showing the old images, even though they dont exist.
i know I can refresh my browser, but I need it to automatically do this for visitors to my website.
I dont want to show up in a search engine, but would be more than happy to pass along URL's to show. here is an example of the code.
<div id="flashMain">
<img src="images/hdr/flash_hdr.jpg" border="0" usemap="#Map2"> </div>
<script type="text/javascript">
var soMain = new SWFObject("slideshowa.swf", "mainSWF", "514", "340", "7", "#FFFFFF");
soMain.addVariable("ver", Math.floor(Math.random() * 999));
soMain.write("flashMain");
</script>
THANKS! I have been going nuts trying to figure this out.
i know I can refresh my browser, but I need it to automatically do this for visitors to my website.
I dont want to show up in a search engine, but would be more than happy to pass along URL's to show. here is an example of the code.
<div id="flashMain">
<img src="images/hdr/flash_hdr.jpg" border="0" usemap="#Map2"> </div>
<script type="text/javascript">
var soMain = new SWFObject("slideshowa.swf", "mainSWF", "514", "340", "7", "#FFFFFF");
soMain.addVariable("ver", Math.floor(Math.random() * 999));
soMain.write("flashMain");
</script>
THANKS! I have been going nuts trying to figure this out.