Files
aladin-lite/bug-tracking/test-robitaille.html
2014-10-23 07:07:36 +00:00

98 lines
2.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<link href='style.css' rel='stylesheet' type="text/css">
<style>
body {
color: #f4f4f4;
background-color: #0e0e0e;
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
#main-box {
width: 90%;
height: 90%;
margin: auto;
}
#aladin-lite-div {
width: 100%;
height: 600px;
margin: 20px;
}
h1 {
font-size: 60px;
font-weight: bold;
}
#credits {
text-align: right;
font-size: 18px;
font-weight: bold;
}
a {
color: #dee9ff;
}
ul {
line-height: 25px;
}
</style>
<title>
GLIMPSE
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div id='main-box'>
<h1>
GLIMPSE: The complete survey
</h1>
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v1/jquery-1.9.1.min.js" charset="utf-8"></script>
<div id="aladin-lite-div"></div>
<link rel="stylesheet" href="../distrib/aladin-0.5.1.min.css" /> </head>
<script type="text/javascript" src="../distrib/aladin-0.5.1.js" charset="utf-8"></script>
<script type="text/javascript">
// Get GET variables
var parts = window.location.search.substr(1).split("&");
var $_GET = {};
for (var i = 0; i < parts.length; i++) {
var temp = parts[i].split("=");
$_GET[decodeURIComponent(temp[0])] = decodeURIComponent(temp[1]);
}
// Check if they exist, otherwise use defaults
var zoom = $_GET['zoom'] || 10
var lon = $_GET['lon'] || 0.
var lat = $_GET['lat'] || 0.
// Start up Aladin Lite
var aladin = $.aladin('#aladin-lite-div', {survey: "GLIMPSE", zoom:zoom, cooFrame:"gal"});
aladin.setImageSurvey(aladin.createImageSurvey("GLIMPSE", "GLIMPSE", "http://www.mpia.de/~robitaille/FBAmIo1hCaXDnLt8fwtlUnXCREkXxgLF/glimpse_all_sky", "gal", 7, {minOrder: 3}));
//aladin.setImageSurvey(aladin.createImageSurvey("GLIMPSE", "GLIMPSE", "http://www.mpia.de/~robitaille/FBAmIo1hCaXDnLt8fwtlUnXCREkXxgLF/glimpse_all_sky", "gal", 7));
aladin.gotoPosition(lon, lat);
aladin.setFOVRange(0.5, 360.);
</script>
<div id="credits">
Credits / Data: GLIMPSE team / Image: Robert Hurt and Thomas Robitaille / Viewer (Aladin Lite): Thomas Boch
</div>
<h2>Interesting regions:</h2>
<ul>
<li><a href='index.html?lon=17&lat=0.81&zoom=2'>The eagle nebula and pillars of creation (M16)</li>
<li><a href='index.html?lon=79.06&lat=0.79&zoom=19'>Cygnus X</li>
<li><a href='index.html?lon=11.13&lat=-0.11&zoom=2'>The "Snake" (a dark cloud of dust)</li>
</ul>
</div>
</body>
</html>