mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-29 06:06:00 -08:00
31 lines
793 B
HTML
31 lines
793 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="https://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
|
|
|
|
<div id="al1" style="width: 500px; height: 500px">
|
|
</div>
|
|
<div id="al2" style="width: 500px; height: 500px">
|
|
</div>
|
|
|
|
<div id='aladin-statsDiv'></div>
|
|
<script type="text/javascript" src="./../aladin.js" charset="utf-8"></script>
|
|
|
|
<script type="text/javascript">
|
|
let al1;
|
|
let al2;
|
|
A.init.then(() => {
|
|
// Start up Aladin Lite
|
|
al1 = A.aladin('#al1', {target: 'M51', fov: 0.3, survey: 'P/DSS2/color', fullScreen: false});
|
|
al2 = A.aladin('#al2', {target: 'M51', fov: 180, survey: 'P/PanSTARRS/DR1/z', fullScreen: false});
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|