Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
gbt [2017/02/06 17:35] Déborah Paradis |
gbt [2017/02/06 18:13] (current) Déborah Paradis |
||
|---|---|---|---|
| Line 16: | Line 16: | ||
| - 8.35 GHz: [[http://cade.irap.omp.eu/documents/Ancillary/GBT/Green_Bank_8p35_1_1024.fits| Green_Bank_8p35_1_1024.fits]] | - 8.35 GHz: [[http://cade.irap.omp.eu/documents/Ancillary/GBT/Green_Bank_8p35_1_1024.fits| Green_Bank_8p35_1_1024.fits]] | ||
| + | <html> | ||
| + | <script> | ||
| + | // Broadcast a table given a hub connection. | ||
| + | var gbt8p35 = function(connection) { | ||
| + | var msg = new samp.Message("image.load.fits", | ||
| + | {"url": "http://cade.irap.omp.eu/documents/Ancillary/GBT/Green_Bank_8p35_1_1024.fits","name":"GBT 8.35 GHz"} ); | ||
| + | connection.notifyAll([msg]); | ||
| + | }; | ||
| + | </script> | ||
| + | <button class="aladin-btn" type="button" onclick="connector.runWithConnection(gbt8p35)">Aladin</button> | ||
| + | </html> | ||
| - 14.34 GHz: [[http://cade.irap.omp.eu/documents/Ancillary/GBT/Green_Bank_14p35_1_2048.fits| Green_Bank_14p35_1_2048.fits]] | - 14.34 GHz: [[http://cade.irap.omp.eu/documents/Ancillary/GBT/Green_Bank_14p35_1_2048.fits| Green_Bank_14p35_1_2048.fits]] | ||
| + | <html> | ||
| + | <script> | ||
| + | // Broadcast a table given a hub connection. | ||
| + | var gbt14p35 = function(connection) { | ||
| + | var msg = new samp.Message("image.load.fits", | ||
| + | {"url": "http://cade.irap.omp.eu/documents/Ancillary/GBT/Green_Bank_14p35_1_2048.fits","name":"GBT 14.35 GHz"} ); | ||
| + | connection.notifyAll([msg]); | ||
| + | }; | ||
| + | </script> | ||
| + | <button class="aladin-btn" type="button" onclick="connector.runWithConnection(gbt14p35)">Aladin</button> | ||
| + | </html> | ||
| + | <html> | ||
| + | <script src="lib/scripts/aladin-btns.js"></script> | ||
| + | <script type="text/javascript"> | ||
| + | jQuery().ready(function($){ | ||
| + | var aladin_01 = A.aladin('#aladin-lite-div-gbt8p35', {zoom:170}); | ||
| + | aladin_01.setFrame('Galactic'); | ||
| + | aladin_01.gotoPosition(0, 0); | ||
| + | aladin_01.setImageSurvey(aladin_01.createImageSurvey( | ||
| + | 'GBT_8.35GHz', 'GBT_8.35GHz', | ||
| + | 'http://cade.irap.omp.eu/documents/Ancillary/4Aladin/GBT_8.35GHz/', | ||
| + | 'Galactic', 3 | ||
| + | )); | ||
| + | aladin_01.getBaseImageLayer().getColorMap().update('rainbow'); | ||
| + | var aladin_02 = A.aladin('#aladin-lite-div-gbt14p35', {zoom:170}); | ||
| + | aladin_02.setFrame('Galactic'); | ||
| + | aladin_02.gotoPosition(0, 0); | ||
| + | aladin_02.setImageSurvey(aladin_02.createImageSurvey( | ||
| + | 'GBT_14.35GHz', 'GBT_14.35GHz', | ||
| + | 'http://cade.irap.omp.eu/documents/Ancillary/4Aladin/GBT_14.35GHz/', | ||
| + | 'Galactic', 3 | ||
| + | )); | ||
| + | aladin_02.getBaseImageLayer().getColorMap().update('rainbow'); | ||
| + | }); | ||
| + | </script> | ||
| + | </html> | ||