-
Notifications
You must be signed in to change notification settings - Fork 3
/
testAlixNewPanel.html
60 lines (53 loc) · 1.79 KB
/
testAlixNewPanel.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html>
<head>
<title>AladinLiteX</title>
<meta charset="utf-8" />
<script type="text/javascript" src="jsimports/jquery-1.9.1.js" charset="utf-8"></script>
<script>var useDebugResources = true; var productionMode=false;</script>
<script type="text/javascript" src="javascript/loader.js"></script>
<script type="text/javascript" src="javascript/packedLoader.js"></script>
<script>
if( productionMode ) {
useDebugResources = false;
packedResourceLoader.setCss([
"styles/packedCSS/style_bundle.css"
,"aladinLite/aladin.css"
,"styles/aladinliteX.css"
]);
packedResourceLoader.setScripts([
"aladinLite/aladin.js"
,"packager/lmpack/alix_packed/packedJSlocal.js"
,"packager/lmpack/alix_packed/packedJSimport.js"
,"demo/js/alixindexReady.js"
]);
packedResourceLoader.loadAll();
} else {
var useDebugResources = true;
resourceLoader.setCss([
"styles/aladinliteX.css"
]);
resourceLoader.setScripts([
"demo/js/alixindexReady.js"
]);
resourceLoader.loadAll();
}
/*
resourceLoader.setCss([
// 'styles/spectrum.css'
]);
resourceLoader.setScripts([
"demo/js/alixindexReady.js"
]);
resourceLoader.loadAll();
*/
</script>
</head>
<body style="height: 100%">
<!-- include Aladin Lite CSS file in the head section of your page -->
<!-- you can skip the following line if your page already integrates the
jQuery library -->
<!-- insert this snippet where you want Aladin Lite viewer to appear and
after the loading of jQuery -->
<div id="aladin-lite-div" style="width:100%;height:100%;padding:5px;"></div>
</body>
</html>