mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-02 08:11:16 -08:00
37 lines
857 B
HTML
37 lines
857 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.aladin-lite {
|
|
height: 300px;
|
|
width: 300px;
|
|
}
|
|
|
|
</style>
|
|
|
|
<link rel="stylesheet" href="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
|
|
|
|
<table>
|
|
<tr>
|
|
<td><div class="aladin-lite" id="a1"></div></td>
|
|
<td><div class="aladin-lite" id="a2"></div></td>
|
|
<td><div class="aladin-lite" id="a3"></div></td>
|
|
</tr>
|
|
</table>
|
|
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js" charset="utf-8"></script>
|
|
<script type="text/javascript">
|
|
|
|
|
|
var a1 = $.aladin('#a1', {target: 'M1', zoom: 0.3});
|
|
var a2 = $.aladin('#a2', {target: 'M2', zoom: 0.3});
|
|
var a3 = $.aladin('#a3', {target: 'M3', zoom: 0.3});
|
|
a2.gotoPosition(0, 0);
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|