mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-13 13:38:02 -08:00
33 lines
900 B
HTML
33 lines
900 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="../distrib/latest/aladin.min.css" />
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
|
|
|
|
|
|
<div id="aladin-lite-div" style="width: 500px; height: 400px"></div>
|
|
<script type="text/javascript" src="../distrib/latest/aladin.js" charset="utf-8"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
// Start up Aladin Lite
|
|
var aladin = A.aladin('#aladin-lite-div', {target: 'M81', fov: 0.5});
|
|
|
|
aladin.addCatalog(A.catalogFromVizieR('II/246', 'M81', 0.4, {'color': 'blue', limit: 700, onClick: 'showTable'}));
|
|
aladin.addCatalog(A.catalogFromVizieR('APOP', 'M81', 0.4, {'color': 'red', limit: 700, onClick: 'showPopup'}));
|
|
aladin.addCatalog(A.catalogFromVizieR('HIP2', 'M 81', 1, {'color': 'yellow', name: 'VizieR Hip2', limit: 42, onClick: 'showTable'}));
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|