Recent Changes - Search:

go to the forum

Contents

Site

Help

« sep 2022 · jan 2023 »

    add a calendar item

    JavaScript / Radio Stats 2

    JavaScript.RadioStats2 History

    Hide minor edits - Show changes to markup

    2020-08-18 19:45 [UTC-7] by Blue Hell -
    Changed line 3 from:

    var radiostats_source2 = 'http://electro-music.com/radio/radio_stats_multi.php?station=2';

    to:

    var radiostats_source2 = 'https://electro-music.com/radio/radio_stats_multi.php?station=2';

    2018-04-16 15:07 [UTC-7] by Blue Hell -
    Changed line 3 from:

    var radiostats_source2 = 'http://electro-music.com/radio/radio_stats_multi_2.php?station=2';

    to:

    var radiostats_source2 = 'http://electro-music.com/radio/radio_stats_multi.php?station=2';

    2018-04-16 14:30 [UTC-7] by Blue Hell -
    Changed line 3 from:

    var radiostats_source2 = 'http://electro-music.com/radio/radio_stats_multi.php?station=2';

    to:

    var radiostats_source2 = 'http://electro-music.com/radio/radio_stats_multi_2.php?station=2';

    2015-02-07 16:43 [UTC-7] by Blue Hell -
    Changed line 29 from:
        var radiostats_refreshId2 = setInterval( function(){ radiostats2();}, radiostats_interval1);
    
    to:
        var radiostats_refreshId2 = setInterval( function(){ radiostats2();}, radiostats_interval2);
    
    2015-02-07 16:39 [UTC-7] by Blue Hell -
    Added lines 1-33:

    (:html:) <script type="text/javascript"> var radiostats_source2 = 'http://electro-music.com/radio/radio_stats_multi.php?station=2'; var radiostats_target2 = '#radiostats_target2'; var radiostats_interval2 = 29 * 1000; // Once every 29 seconds

    function radiostats2() {

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

    };

    $( document).ready(

      function() 
      {
        radiostats2();
        var radiostats_refreshId2 = setInterval( function(){ radiostats2();}, radiostats_interval1);
        $.ajaxSetup({ cache: false });
      }
    

    ); </script><div id = "radiostats_target2">waiting for radio stats 2 ...</div>(:htmlend:)

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