mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-20 00:31:39 -08:00
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
|
|
/* body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
*/
|
|
html, body, #aladin-lite-div {
|
|
height: 600px;
|
|
width: 800px;
|
|
}
|
|
</style>
|
|
|
|
<link rel="stylesheet" href="../distrib/latest/aladin.min.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<!-- <script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v1/jquery-1.9.1.min.js" charset="utf-8"></script> -->
|
|
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
|
|
<input type="button" id="selectBtn" value="Select" />
|
|
<!-- <div id="aladin-statsDiv"></div> -->
|
|
|
|
|
|
<div id="aladin-lite-div" ></div>
|
|
<script type="text/javascript" src="../distrib/latest/aladin.js" charset="utf-8"></script>
|
|
|
|
<script type="text/javascript">
|
|
var aladin = A.aladin('#aladin-lite-div', {target: "gal center", survey: "P/DSS2/red", zoom: 3, reticleColor: '#099', reticleSize: 50, frame: 'galactic'});
|
|
|
|
|
|
var prog = A.catalogHiPS('http://cdsxmatch3.u-strasbg.fr/HiPSCatService/GaiaDR1', {'onClick': 'showTable'});
|
|
aladin.addCatalog(prog);
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|