Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
essai [2018/09/20 16:49] ahughes removed |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <html> | ||
| - | <script src="lib/scripts/aladin-btns.js"></script> | ||
| - | <script> | ||
| - | // Broadcasts a table given a hub connection. | ||
| - | var send = function(connection) { | ||
| - | var msg = new samp.Message("image.load.fits", | ||
| - | {"url": "http://cade.irap.omp.eu/documents/Ancillary/DIRBE/DIRBE_1_256.fits"}); | ||
| - | connection.notifyAll([msg]); | ||
| - | }; | ||
| - | </script> | ||
| - | |||
| - | <p> | ||
| - | Sends a table when the button is pressed. | ||
| - | Registration is performed only when required (just prior to attempting | ||
| - | the send, if not registered already). | ||
| - | The button is only visible when a hub is running. | ||
| - | </p> | ||
| - | |||
| - | <p><b>http://cade.irap.omp.eu/documents/Ancillary/DIRBE/DIRBE_1_256.fits</b> | ||
| - | <button class="aladin-btn" type="button" onclick="connector.runWithConnection(send)">Send It!</button> | ||
| - | </p> | ||
| - | |||
| - | </html> | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | ||
| - | | <html> | ||
| - | <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" style="width:300px;height:300px;"></div> | ||
| - | <script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v1/aladin.min.js" charset="utf-8"></script> | ||
| - | <script type="text/javascript"> | ||
| - | var aladin = A.aladin('#aladin-lite-div', {survey: "P/VGPS/CONT", zoom:165}); | ||
| - | aladin.setImageSurvey(aladin.createImageSurvey( | ||
| - | 'DWINGELOO', 'DWINGELOO', | ||
| - | 'http://cade.irap.omp.eu/documents/Ancillary/4Aladin/820MHz/', | ||
| - | 'Galactic', 3 | ||
| - | )); | ||
| - | |||
| - | </script> | ||
| - | |||
| - | </html> | Ligne 1 Col 2 | Ligne 1 Col 3 | | ||
| - | | Ligne 2 Col 1 | colonnes fusionnées (notez la double barre verticale) || | ||
| - | | Ligne 3 Col 1 | Ligne 2 Col 2 | Ligne 2 Col 3 | ||