2018-09-10 10:58:24 +03:00
<!DOCTYPE html>
< html >
< head >
< title > OpenSeadragon Demo - Timeout Unlikely< / title >
< script type = "text/javascript" src = '../../build/openseadragon/openseadragon.js' > < / script >
< script type = "text/javascript" src = '../lib/jquery-1.9.1.min.js' > < / script >
< style type = "text/css" >
.openseadragon1 {
width: 800px;
height: 600px;
}
< / style >
< / head >
< body >
< div >
< p > The ImageLoader timeout is set to 24 hours, and the tile source is remote.< / p >
< p > In any web browser on nearly any network connection, OpenSeadragon should load properly, and the browser console log should not show any tile loading errors.< / p >
< / div >
< div id = "contentDiv" class = "openseadragon1" > < / div >
< script type = "text/javascript" >
var viewer = OpenSeadragon({
// debugMode: true,
id: "contentDiv",
prefixUrl: "../../build/openseadragon/images/",
2024-10-16 12:12:20 +03:00
tileSources: "https://openseadragon.github.io/example-images/highsmith/highsmith.dzi",
2018-09-10 10:58:24 +03:00
showNavigator:true,
2024-10-16 12:12:20 +03:00
crossOriginPolicy: 'Anonymous',
2018-09-10 10:58:24 +03:00
timeout: 1000 * 60 * 60 * 24
});
< / script >
< / body >
< / html >