Recent Changes - Search:

go to the forum

Contents

Site

Help

« may 2022 · sep 2022 »

    add a calendar item

    JavaScript / Playlist Schedule

    JavaScript.PlaylistSchedule History

    Hide minor edits - Show changes to output

    2020-08-18 15:26 [UTC-7] by Blue Hell -
    Changed line 4 from:
      var playlist_source  = 'http://electro-music.com/wiki/pub/playlist_schedule.php';
    to:
      var playlist_source  = 'https://electro-music.com/wiki/pub/playlist_schedule.php';
    2013-03-03 11:14 [UTC-7] by Blue Hell -
    Added line 1:
    {script: jquery-1.9.1.min.js}
    Deleted line 2:
    <script type='text/javascript' src='http://electro-music.com/wiki/pub/jquery-1.9.1.min.js'></script>
    2013-03-03 10:12 [UTC-7] by Blue Hell -
    Deleted line 2:
    <script type='text/javascript' src='http://electro-music.com/wiki/pub/common.js'></script>
    Changed lines 8-22 from:
      addLoadEvent(
        function(
    )
        {
         $( playlist_target).load( playlist_source);

         var playlist_refreshId = setInterval(
            function()
     
          {
              $( playlist_target).load( playlist_source + '?randval=' + Math.random());
     
         },
            playlist_interval
          );
          $.ajaxSetup({ cache: false });
        }
     
    );
    to:
      $(document).ready(function()
      {
        $( playlist_target).load( playlist_source);

        var
    playlist_refreshId = setInterval( function()
          {
            $( playlist_target).load( playlist_source + '?randval=' + Math.random());
          },
          playlist_interval
     
      );
        $
    .ajaxSetup({ cache: false });
      });
    2013-03-03 10:07 [UTC-7] by Blue Hell -
    Changed line 14 from:
         var playlist)refreshId = setInterval(
    to:
         var playlist_refreshId = setInterval(
    2013-03-03 10:07 [UTC-7] by Blue Hell -
    2013-03-03 10:06 [UTC-7] by Blue Hell -
    Changed lines 5-8 from:
      var source  = 'http://electro-music.com/wiki/pub/playlist_schedule.php';
      var target  = '#playlist_schedule';
      var interval = 3600 * 1000 / 4;              // 4 times an hour
    to:
      var playlist_source  = 'http://electro-music.com/wiki/pub/playlist_schedule.php';
      var playlist_target  = '#playlist_schedule';
      var playlist_interval = 3600 * 1000 / 4;              // 4 times an hour
    Changed lines 12-14 from:
         $( target).load( source);

          var refreshId = setInterval(
    to:
         $( playlist_target).load( playlist_source);

          var playlist)refreshId = setInterval(
    Changed line 17 from:
             $( target).load( source + '?randval=' + Math.random());
    to:
             $( playlist_target).load( playlist_source + '?randval=' + Math.random());
    Changed line 19 from:
           interval
    to:
           playlist_interval
    2013-03-03 09:59 [UTC-7] by Blue Hell -
    Added line 3:
    <script type='text/javascript' src='http://electro-music.com/wiki/pub/common.js'></script>
    2013-03-03 09:58 [UTC-7] by Blue Hell -
    Changed lines 8-19 from:
      addLoadEvent(function()
      {
     
      $( target).load( source);

        var refreshId = setInterval( function()
          {
     
          $( target).load( source + '?randval=' + Math.random());
          },
          interval
        );
     
      $.ajaxSetup({ cache: false });
      });
    to:
      addLoadEvent(
        function()
       {
          $( target).load( source);

          var refreshId = setInterval(
           function()
           {
              $( target).load( source + '?randval=' + Math.random());
     
         },
            interval
          );
          $.ajaxSetup({ cache: false });
        }
     
    );
    2013-03-03 09:57 [UTC-7] by Blue Hell -
    Changed line 8 from:
      $(document).ready(function()
    to:
      addLoadEvent(function()
    2013-03-02 22:24 [UTC-7] by Blue Hell -
    2013-03-02 21:12 [UTC-7] by Blue Hell -
    Changed line 12 from:
       var refreshId2 = setInterval( function()
    to:
       var refreshId = setInterval( function()
    2013-03-02 21:11 [UTC-7] by Blue Hell -
    Changed line 12 from:
       var refreshId = setInterval( function()
    to:
       var refreshId2 = setInterval( function()
    2013-03-02 20:19 [UTC-7] by Blue Hell -
    Added lines 1-23:
    (:html:)
    <script type='text/javascript' src='http://electro-music.com/wiki/pub/jquery-1.9.1.min.js'></script>
    <script type="text/javascript">
      var source  = 'http://electro-music.com/wiki/pub/playlist_schedule.php';
      var target  = '#playlist_schedule';
      var interval = 3600 * 1000 / 4;              // 4 times an hour

      $(document).ready(function()
      {
        $( target).load( source);

        var refreshId = setInterval( function()
          {
            $( target).load( source + '?randval=' + Math.random());
          },
          interval
        );
        $.ajaxSetup({ cache: false });
      });
    </script>

    <div id="playlist_schedule" align="center"></div>
    (:htmlend:)

    Edit - History - Print - Recent Changes - Search Page last modified on 2020-08-18 15:26 [UTC-7] - 1229 views