Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript" src="http://code.jquery.com/jquery-2.0.0.js"></script>
- <script type="text/javascript" src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
- <link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css"/>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- </head>
- <body onload="JavaScript:timedRefresh(5000);">
- <div id="info">
- <b>Song:</b>
- <script type="text/javascript" src="http://shoutcast.mixstream.net/js/song/uk23-free:5106">You appear to have javascript turned off.</script>
- <br />
- <b>Listeners:</b>
- <script type="text/javascript" src="http://shoutcast.mixstream.net/js/listeners/uk23-free:5106">
- You appear to have javascript turned off.
- </script>
- <br />
- <b>Server Status:</b>
- <img src="http://shoutcast.mixstream.net/status/uk23-free:5106.gif" alt="Stream status" width="17" height="17" align="absmiddle" />
- </div>
- <script type="text/javascript">
- function timedRefresh(timeoutPeriod) {
- //This is a old:
- //setTimeout("location.reload(true);",timeoutPeriod);
- // This function!!!
- setTimeout("document.getElementById('info').innerHTML = document.getElementById('info').innerHTML;",timeoutPeriod);
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement