2013-01-24 08:00:11 +04:00
|
|
|
<h2>example: tilesource reference strip</h2>
|
2012-08-29 22:46:34 +04:00
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
<p>
|
2012-10-13 07:40:59 +04:00
|
|
|
An image reference strip allows the user to quickly preview and navigate a
|
|
|
|
sequence of images.
|
2012-08-29 22:46:34 +04:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="demoarea">
|
|
|
|
<div class="demoheading">
|
2012-10-13 07:40:59 +04:00
|
|
|
Horizontal Scrolling Image Reference Strip
|
2012-08-29 22:46:34 +04:00
|
|
|
</div>
|
|
|
|
<div id="contentDiv"
|
|
|
|
class="openseadragon"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
OpenSeadragon({
|
|
|
|
id: "contentDiv",
|
2013-01-31 02:10:16 +04:00
|
|
|
prefixUrl: "/openseadragon/images/",
|
2012-08-29 22:46:34 +04:00
|
|
|
showReferenceStrip: true,
|
|
|
|
tileSources: [{
|
|
|
|
type: 'legacy-image-pyramid',
|
|
|
|
levels:[{
|
|
|
|
url: '/openseadragon/examples/images/rbc/rbc0001/2003/2003rosen1799/0001q.jpg',
|
|
|
|
height: 889,
|
|
|
|
width: 600
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rbc/rbc0001/2003/2003rosen1799/0001r.jpg',
|
|
|
|
height: 2201,
|
|
|
|
width: 1485
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rbc/rbc0001/2003/2003rosen1799/0001v.jpg',
|
|
|
|
height: 4402,
|
|
|
|
width: 2970
|
|
|
|
|
|
|
|
}]
|
|
|
|
},{
|
|
|
|
type: 'legacy-image-pyramid',
|
|
|
|
levels:[{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801t.gif',
|
|
|
|
height: 150,
|
|
|
|
width: 116
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801q.jpg',
|
|
|
|
height: 400,
|
|
|
|
width: 310
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801r.jpg',
|
|
|
|
height: 860,
|
|
|
|
width: 667
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801v.jpg',
|
|
|
|
height: 1650,
|
|
|
|
width: 1279
|
|
|
|
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
"/openseadragon/examples/images/highsmith/highsmith.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05954.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05955.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05956.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05957.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05958.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05959.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05960.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05961.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05962.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05963.dzi"
|
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<p>
|
2012-10-13 07:40:59 +04:00
|
|
|
The relevant configuration options are shown below.
|
2012-08-29 22:46:34 +04:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<pre>
|
2012-10-13 07:40:59 +04:00
|
|
|
OpenSeadragon({
|
|
|
|
...
|
|
|
|
showReferenceStrip: true,
|
|
|
|
...
|
|
|
|
});
|
2012-08-29 22:46:34 +04:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
<h2>example: vertical scrolling</h2>
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
<p>
|
|
|
|
This example demonstrates the configuration options which enable a vertical
|
|
|
|
scrolling image reference strip.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="demoarea">
|
|
|
|
<div class="demoheading">
|
|
|
|
Vertical Scrolling Image Reference Strip
|
|
|
|
</div>
|
|
|
|
<div id="toolbarDiv" class="toolbar">
|
|
|
|
</div>
|
|
|
|
<div id="contentDiv2" class="openseadragon"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
OpenSeadragon({
|
|
|
|
id: "contentDiv2",
|
2013-01-31 02:10:16 +04:00
|
|
|
prefixUrl: "/openseadragon/images/",
|
2012-08-29 22:46:34 +04:00
|
|
|
toolbar: "toolbarDiv",
|
2012-10-13 07:40:59 +04:00
|
|
|
springStiffness: 10,
|
|
|
|
showReferenceStrip: true,
|
|
|
|
autoHideControls: false,
|
|
|
|
referenceStripScroll: 'vertical',
|
2012-08-29 22:46:34 +04:00
|
|
|
tileSources: [{
|
|
|
|
type: 'legacy-image-pyramid',
|
|
|
|
levels:[{
|
|
|
|
url: '/openseadragon/examples/images/rbc/rbc0001/2003/2003rosen1799/0001q.jpg',
|
|
|
|
height: 889,
|
|
|
|
width: 600
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rbc/rbc0001/2003/2003rosen1799/0001r.jpg',
|
|
|
|
height: 2201,
|
|
|
|
width: 1485
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rbc/rbc0001/2003/2003rosen1799/0001v.jpg',
|
|
|
|
height: 4402,
|
|
|
|
width: 2970
|
|
|
|
|
|
|
|
}]
|
|
|
|
},{
|
|
|
|
type: 'legacy-image-pyramid',
|
|
|
|
levels:[{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801t.gif',
|
|
|
|
height: 150,
|
|
|
|
width: 116
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801q.jpg',
|
|
|
|
height: 400,
|
|
|
|
width: 310
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801r.jpg',
|
|
|
|
height: 860,
|
|
|
|
width: 667
|
|
|
|
},{
|
|
|
|
url: '/openseadragon/examples/images/rpbaasm/0900/0908/090801v.jpg',
|
|
|
|
height: 1650,
|
|
|
|
width: 1279
|
|
|
|
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
"/openseadragon/examples/images/highsmith/highsmith.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05954.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05955.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05956.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05957.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05958.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05959.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05960.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05961.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05962.dzi",
|
|
|
|
"/openseadragon/examples/images/pnp/ppmsca/05900/05954/05963.dzi"
|
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<p>
|
2012-10-13 07:40:59 +04:00
|
|
|
The relevant configuration options are shown below.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
OpenSeadragon({
|
|
|
|
...
|
|
|
|
showReferenceStrip: true,
|
|
|
|
referenceStripScroll: 'vertical',
|
|
|
|
...
|
|
|
|
});
|
|
|
|
</pre>
|