Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ramps [2023/09/22 13:57] Déborah Paradis |
ramps [2023/09/22 14:02] (current) Déborah Paradis |
||
---|---|---|---|
Line 75: | Line 75: | ||
<button class="aladin-btn" type="button" onclick="connector.runWithConnection(h2o_mom0)">Aladin</button> | <button class="aladin-btn" type="button" onclick="connector.runWithConnection(h2o_mom0)">Aladin</button> | ||
</html> | </html> | ||
+ | |||
+ | <html> | ||
+ | <script src="lib/scripts/aladin-btns.js"></script> | ||
+ | <script> | ||
+ | // Aladin visualizations | ||
+ | jQuery().ready(function($){ | ||
+ | var aladin_01 = A.aladin('#aladin-lite-div-nh311_mom0', {zoom:10}); | ||
+ | aladin_01.setFrame('Galactic'); | ||
+ | aladin_01.gotoPosition(25, 0); | ||
+ | aladin_01.setImageSurvey(aladin_01.createImageSurvey( | ||
+ | 'RAMPS_NH311_MOM0', 'RAMPS_NH311_MOM0', | ||
+ | 'http://cade.irap.omp.eu/documents/Ancillary/4Aladin/RAMPS_NH311_MOM0/', | ||
+ | 'Galactic', 3 | ||
+ | )); | ||
+ | aladin_01.getBaseImageLayer().getColorMap().update('rainbow'); | ||
+ | |||
+ | var aladin_02 = A.aladin('#aladin-lite-div-nh322_mom0', {zoom:10}); | ||
+ | aladin_02.setFrame('Galactic'); | ||
+ | aladin_02.gotoPosition(25, 0); | ||
+ | aladin_02.setImageSurvey(aladin_02.createImageSurvey( | ||
+ | 'RAMPS_NH322_MOM0 ', 'RAMPS_NH322_MOM0', | ||
+ | 'http://cade.irap.omp.eu/documents/Ancillary/4Aladin/RAMPS_NH322_MOM0/', | ||
+ | 'Galactic', 3 | ||
+ | )); | ||
+ | aladin_02.getBaseImageLayer().getColorMap().update('rainbow'); | ||
+ | |||
+ | var aladin_03 = A.aladin('#aladin-lite-div-h2o_mom0', {zoom:10}); | ||
+ | aladin_03.setFrame('Galactic'); | ||
+ | aladin_03.gotoPosition(25, 0); | ||
+ | aladin_03.setImageSurvey(aladin_03.createImageSurvey( | ||
+ | 'RAMPS_H2O_MOM0', 'RAMPS_H2O_MOM0', | ||
+ | 'http://cade.irap.omp.eu/documents/Ancillary/4Aladin/RAMPS_H2O_MOM0/', | ||
+ | 'Galactic', 3 | ||
+ | )); | ||
+ | aladin_03.getBaseImageLayer().getColorMap().update('rainbow'); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
+ | </html> | ||
+ | |||
===HiPS === | ===HiPS === |