mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-30 22:52:18 -08:00
33 lines
930 B
HTML
33 lines
930 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.catalogFromNED('M81', 0.4, {'color': 'blue', limit: 700, onClick: 'showTable'}));
|
|
aladin.addCatalog(A.catalogFromNED({ra: 202.469575, dec: 47.195258}, 1, {'color': 'yellow', name: 'NED M51', limit: 42, onClick: 'showTable'}));
|
|
aladin.addCatalog(A.catalogFromNED('14 03 12.583 +54 20 55.50', 0.1, {'color': 'orange', name: 'NED M101', limit: 400, onClick: 'showPopup'}));
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|