mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-12-02 01:56:08 +03:00
37 lines
1.1 KiB
HTML
37 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>OpenSeadragon Demo - Timeout Certain</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 0 ms, and the tile source is remote.</p>
|
|
<p>In any web browser on any network connection, OpenSeadragon should not load properly, and the browser console log should show 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/",
|
|
tileSources: "https://openseadragon.github.io/example-images/highsmith/highsmith.dzi",
|
|
showNavigator:true,
|
|
crossOriginPolicy: 'Anonymous',
|
|
timeout: 0
|
|
});
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|