I was using an advertising service (banner) which had a simple refresh timer in it. Where I could specify after what time the advert should be reloaded (or a new one should be served)
I've switched my banner provider and the new one does not have that built in option.
I've tried refreshing the div normally but that doesn't work since the content seems to remain the same.
Any ideas on a javascript code which can refresh a banner ad?
<script langauge="javascript">
window.setInterval("refreshDiv()", 60000);
function refreshDiv(){
document.getElementById("advert_div").innerHTML;
}
</script>
and here is the advertisers div
<div id="advert_div">
<script type="text/javascript">
//<![CDATA[
LSM_Slot({
adkey: '645451',
ad_size: '300x250',
slot: 'slot656464'
});
//]]>
</script>
</div>