willas00 Posted August 3, 2009 Share Posted August 3, 2009 Hi, Sorry if i post this in the wrong place but im not 100 sure. I have a listen.asx file located at www.ihitzradio.net/listen.asx with the following code in <ASX version = "3.0"> <TITLE>iHitz Radio</TITLE> <MoreInfo href = "http://iHitzRadio.net" /> <Entry> <Ref href = "http://listen.iHitzRadio.net:8007" /> <Ref href = "http://listen.iHitzRadio.net:8007" /> <PARAM NAME="HTMLView" Value="http://iHitzRadio.net/wmp.php"/> </Entry> </ASX> So when you open in Windows Media player you see a webpage which has this code on <head> <meta http-equiv="Content-Language" content="en-gb"> </head> <span id="liveclock" style="position:absolute;left:0;top:0;"> </span> <script language="JavaScript"> function show5(){ if (!document.layers&&!document.all&&!document.getElementById) return var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds myclock="<font size='5' face='Arial' ><b><font size='1'>The Current Time is:</font></br>"+hours+":"+minutes+":" +seconds+" "+dn+"</b></font>" if (document.layers){ document.layers.liveclock.document.write(myclock) document.layers.liveclock.document.close() } else if (document.all) liveclock.innerHTML=myclock else if (document.getElementById) document.getElementById("liveclock").innerHTML=myclock setTimeout("show5()",1000) } </script> <body onLoad="show5()"> <noscript> <meta http-equiv="refresh" content="30"> </noscript> <p align="center"> <img border="0" src="/Logos/rotate.php" width="120" height="100"><br> <font face="Verdana"><b> Welcome to iHitz Radio<br></b> <br> <font size="1"> <?php include("playing.php"); ?><br> Please be advised this page is still in beta testing <br><br> <marquee>Need to get in touch with us? Go to www.iHitzRadio.net/contact to contact us. - Have a request? Simply Twitter us using @iHitzRadio to make your request! - Want to be part of our team? Check out our vacancies page for full details. - Don't forget we have pages on Twitter & Facebook so check us out and drop us a message! </marquee></font> </p> However the page does NOT refresh like the code suggests it should. Can any one help me at all please! Link to comment https://forums.phpfreaks.com/topic/168701-why-wont-it-refresh/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.