demo page fix

This commit is contained in:
Hamza Tatheer 2022-10-29 21:59:29 +05:00
parent 05b596ce32
commit 3ebc03ab3a

View File

@ -5,6 +5,25 @@
<script type="text/javascript" src='../../../build/openseadragon/openseadragon.js'></script> <script type="text/javascript" src='../../../build/openseadragon/openseadragon.js'></script>
<script type="text/javascript" src='../../lib/jquery-1.9.1.min.js'></script> <script type="text/javascript" src='../../lib/jquery-1.9.1.min.js'></script>
<script type="text/javascript" src='main.js'></script> <script type="text/javascript" src='main.js'></script>
<style type="text/css">
html,
body,
.openseadragon1 {
width: 100%;
height: 100%;
margin: 0;
}
.openseadragon1.small {
width: 50%;
}
.openseadragon-overlay {
background-color: rgba(255, 0, 0, 0.3);
}
</style>
</head> </head>
<body> <body>
<div id="contentDiv" class="openseadragon1"></div> <div id="contentDiv" class="openseadragon1"></div>