Old 17th November 2012, 09:02   #1
LigShot
Junior Member
 
Join Date: Nov 2012
Posts: 5
Please help me quick!

Hello! I have a now playing script in a HTML page.It work but it dosen't refresh after the song change.What am I need to change to this code to refresh automatically after a song change?

code:
<script>
$(document).ready(function(){
$("#front_video").fitVids();

getData();
setInterval(function() {
getData();
}, 3000);

function getData(){
$.get('output_file.txt', function(data) {
$('.now-live span').html(data);
});
}
});
</script>



Sorry for my English!

Thank you in advice!
LigShot is offline   Reply With Quote
Old 18th November 2012, 13:06   #2
LigShot
Junior Member
 
Join Date: Nov 2012
Posts: 5
Problem!

Anyone knows?
LigShot is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Site Design

Tags
playing, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump