The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

auto-refreshing code?

Go down

auto-refreshing code? Empty auto-refreshing code?

Post by 10564 Sat 6 Feb 2010 - 1:22

Hi, I have a link to an online radio stream as well as the current track on my forum. However, you must refresh the page in order to see the current track if it changes while you're browsing the page. What's do I need to do to have this code auto-refresh every few seconds:

<script type="text/javascript" src="http://shoutcast.mixstream.net/js/song/uk4-free:19112">
You appear to have javascript turned off.
</script>

As well as this one, which shows whether the station is online or not:

<script type="text/javascript" src="http://shoutcast.mixstream.net/js/status/uk4-free:19112">
You appear to have javascript turned off.
</script>
avatar
10564
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum