Widget: Random: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
  <script>
  <script>
  var auto_refresh = setInterval(function() {
  $('.reloader').on('click', '.reloader', function (e) {
  $("#reloadable").load(location.href+" #reloadable>*","").fadeIn("slow");
  $("#reloadable").load(location.href+" #reloadable>*","").fadeIn("slow");
$("#reloadable").trigger('updatelayout');
  $.ajaxSetup({ cache: false });
  $.ajaxSetup({ cache: false });
  },5000);
  });
  </script>
  </script>

Revision as of 09:09, 1 February 2018

<script>
$('.reloader').on('click', '.reloader', function (e) {
$("#reloadable").load(location.href+" #reloadable>*","").fadeIn("slow");
$.ajaxSetup({ cache: false });
});
</script>