Recent Changes - Search:

go to the forum

Contents

Site

Help

« jul 2022 · nov 2022 »

add a calendar item

JavaScript / Radio Stats 5

JavaScript.RadioStats5 History

Hide minor edits - Show changes to output

2020-08-18 19:47 [UTC-7] by Blue Hell -
Changed line 3 from:
var radiostats_source5  = 'http://electro-music.com/radio/radio_stats_multi.php?station=5';
to:
var radiostats_source5  = 'https://electro-music.com/radio/radio_stats_multi.php?station=5';
2018-04-16 15:08 [UTC-7] by Blue Hell -
Changed line 3 from:
var radiostats_source5  = 'http://electro-music.com/radio/radio_stats_multi_2.php?station=5';
to:
var radiostats_source5  = 'http://electro-music.com/radio/radio_stats_multi.php?station=5';
2018-04-16 14:31 [UTC-7] by Blue Hell -
2018-04-16 14:31 [UTC-7] by Blue Hell -
Changed line 3 from:
var radiostats_source5  = 'http://electro-music.com/radio/radio_stats_multi.php?station=5';
to:
var radiostats_source5  = 'http://electro-music.com/radio/radio_stats_multi_2.php?station=5';
2015-02-07 16:48 [UTC-7] by Blue Hell -
Added lines 1-33:
{script: jquery-1.9.1.min.js}(:html:)
<script type="text/javascript">
var radiostats_source5  = 'http://electro-music.com/radio/radio_stats_multi.php?station=5';
var radiostats_target5  = '#radiostats_target5';
var radiostats_interval5 = 29 * 1000;              // Once every 29 seconds


function radiostats5()
{
  $.ajax
  (
    {
      type    : "GET",
      url      : radiostats_source5 + '?randval=' + Math.random(),
      dataType : "html",
      success  : function( html)
      {
        $( radiostats_target5).html( html);
      }
    }
  );
};


$( document).ready(
  function()
  {
    radiostats5();
    var radiostats_refreshId5 = setInterval( function(){ radiostats5();}, radiostats_interval5);
    $.ajaxSetup({ cache: false });
  }
);
</script><div id = "radiostats_target5">waiting for radio stats 5 ...</div>(:htmlend:)

Edit - History - Print - Recent Changes - Search Page last modified on 2020-08-18 19:47 [UTC-7] - 440 views