mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-31 15:08:04 -08:00
33 lines
1000 B
HTML
33 lines
1000 B
HTML
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<style>
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
html, body, #aladin-lite-div {
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<link rel="stylesheet" href="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v1/jquery-1.9.1.min.js" charset="utf-8"></script>
|
|
<!-- insert this snippet where you want Aladin Lite viewer to appear and after the loading of jQuery -->
|
|
<div id="aladin-lite-div"></div>
|
|
<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 aladin = $.aladin('#aladin-lite-div', {survey: "P/DSS2/red", zoom: 1, target: "21 35 23.50 +57 28 10"});
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|