User manual

Using JavaScript
Aladin in applet mode may also be controlled via a JavaScript function with the
following reference:
document.aladin.execAsyncCommand(script)
In contrast to the previous method, the use of the “-script” parameter with JavaScript
allows modification of the behavior of the Aladin applet. It is not necessary to restart
Aladin for each new data set to be visualized.
For more information about controlling Aladin via JavaScript, refer to the FAQ
(http://aladin.u-strasbg.fr/java/FAQ.htx#JavaScript). And for more general
information on how to provide your data Aladin see - http://aladin.u-
strasbg.fr/java/HowToProvideMyData.htx .
7.3Aladin extensions: “plug-ins”
Menu : Tools => Plugins…
Aladin is written in the Java programming language, and it is possible to add extensions
written in Java to extend the capabilities.
Installing plug-ins
The installation of plug-ins is
done by the Plugin controller
accessible in the menu : “Tools
=>
Plugins => Plugins controller”
. This
opens a window that shows all the
installed plug-ins. The
Download”
button shows the available plug-
ins on the official Aladin site.
The plug-ins must be installed in
compiled form (.class or .jar), in
the .aladin/Plugins” directory in
your home area ($HOME on Unix,
\document and
Settings\yourName on
Windows). After downloading, it
is necessary to click the “Re-load”
button.
81