mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-11 20:55:58 -08:00
40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
<!DOCTYPE>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="css/highlight/default.min.css">
|
|
<script src="js/highlight.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
|
<style>
|
|
code {
|
|
font-size: 14px;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<pre><code>
|
|
<h1>Trifid interactive map</h1>
|
|
|
|
<!-- Aladin Lite CSS style file -->
|
|
<link rel="stylesheet" href="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css" />
|
|
|
|
<!-- Aladin Lite has a dependency on the jQuery library -->
|
|
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js" charset="utf-8"></script>
|
|
|
|
<!-- Aladin Lite container at requested dimensions -->
|
|
<div id="aladin-lite-div" style="width:700px;height:400px;"></div>
|
|
|
|
<!-- Aladin Lite JS code -->
|
|
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js" charset="utf-8"></script>
|
|
|
|
<!-- Creation of Aladin Lite instance with initial parameters -->
|
|
<script type="text/javascript">
|
|
var aladin = A.aladin('#aladin-lite-div', {survey: "P/DSS2/color", fov:1.5, target: "trifid"});
|
|
</script>
|
|
|
|
</code></pre>
|
|
</body>
|
|
</html>
|