Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadImage (0.07 sec)

  1. src/main/webapp/js/search.js

      var IMG_LOADING_DELAY = 200;
      var IMG_LOADING_MAX = 0;
      loadImage = function(img, url, limit) {
        var imgData = new Image();
        $(imgData).on("load", function() {
          $(img).css("background-image", "");
          $(img).attr("src", url);
        });
        $(imgData).on("error", function() {
          if (limit > 0) {
            setTimeout(function() {
              loadImage(img, url, --limit);
            }, IMG_LOADING_DELAY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top