Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
Loading Spin Background: <img src="https://qjzhvmqlzvoo5lqnrvuhmg-on.drv.tw/UInv/images/reflective-brushed-metal.jpg" style="max-height: 64px;" class="spinBkg"> <<nobr>> <<set _path = "https://qjzhvmqlzvoo5lqnrvuhmg-on.drv.tw/UInv/images/">> <<set _images = ["woodtexture7.jpg", "icon_belt1.png", "icon_dagger3.png", "coin.png", "Heavy_Mace.png", "icon_cloth_pants1.png", "FailTest.png", "icon_sword_short1.png", "potionRed.png", "potionOrange.png", "potionYellow.png", "potionGreen.png", "potionBlue.png", "potionPurple.png", "reflective-brushed-metal.jpg"]>> <<for _i = 0; _i < _images.length; _i++>> <<set _name = (_path + _images[_i]).replace(/[^a-z0-9]/gi, "_")>> <div @id="_name+'bkg'" class="barbkg"> <div @id="_name" class="bar"> </div> </div> : _images[_i]<br> <</for>> <</nobr>><span id="test"></span> <<script>> $(document).one(':passageend', function (ev) { var path = State.temporary.path; var images = State.temporary.images; var CacheWait = setInterval(function () { if ($("#init-screen").css("display") == "none") { clearInterval(CacheWait); UInv.cacheImages(path, images, "CacheEvent"); } }, 300); }); setup.CacheEvent = function (Image) { if (Image === null) { $("#test").append("Image = null = " + this.status + "<br>"); } else { var name = Image.URL.replace(/[^a-z0-9]/gi, "_"); if (Image.status == "Loaded") { $("#" + name).css("width", "100%"); } else if (Image.status == "Error") { $("#" + name).css({ transition: "none", width: "100%", "background-image": "linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 5px), linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 5px), linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 5px), linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 5px), radial-gradient( circle at bottom right, #c00, #c00 60% )" }); } else { $("#test").append("Image : " + UInv.getObjectProperties(Image) + " = " + Image.URL + " = " + Image.status + " = " + this.status + "<br>"); } var IC = setup.UInvImageCache; $("#test").append("Image Cache: " + Image.filename + "<br>.loading = " + IC.loading + " / .complete = " + IC.complete + " / .loaded = " + IC.loaded + " / .errors = " + IC.errors + " / .waiting = " + IC.waiting + " / .total = " + IC.total + " / .maxConcurrent = " + IC.maxConcurrent + " / .maxCache = " + IC.maxCache + "<br>"); } } <</script>>