My code opens a new window with the name radio I am curious to know how I can change the url for this window automatically every hour from radio.php to /server2/radio.php
<a href="#" onclick="RadioLink('radio.php','radio','width=300,height=150')">Play Radio</a>
<script type="text/javascript">
<!--
function RadioLink(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
</script>
Perhaps:
This will change the URL after one hour.