mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-24 03:59:14 -08:00
7 lines
658 B
JSON
7 lines
658 B
JSON
{
|
|
"title": "Aladin Lite in responsive container",
|
|
"html": "<link rel='stylesheet' href='http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css' />\n<script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.min.js' charset='utf-8'></script>\n\n<div id='aladin-lite-div' style='width: 100%; height:98%;'></div>\n<script type='text/javascript' src='http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js' charset='utf-8'></script>\n",
|
|
"js": "var aladin = A.aladin('#aladin-lite-div', {fov:1, target: 'M81'});",
|
|
"explain": "Resize your window, and see how Aladin Lite adapts to the size of its parent div."
|
|
}
|