Two menus are proposed:
|
|
|
- Edit makes it possible to choose the parameters to
be used which will be deferred in page HTML backed up once. The
colors suggested are the 216 colors known as of the Web
(palette color of Netscape adopted by the other navigators).
The basic images must be with format GIF (gif suffix) or JPEG
(jpg suffix). Ten languages are present at this time for
CabriWeb and CabriJava applet; other ones are in translation
process or implementation like Greek...)
-
- File makes it possible to change figure or to record
HTML file with corresponding parameters according to the state
of the figure in CabriWeb. Attention, this recording can be
made only if the place of the CabriJava.jar archive to be
referenced in HTML page is known. This is why a dialog of
choice of this file is proposed before giving the name and
place of HTML file to be created. This choice of the jar file,
as all the other parameters of Edition menu can be saved in a
file of preferences by the special item menu of File. With the
next opening of a figure, the old parameters will be reused.
Note that at the time of a backup HTML file, tag
<APPLET...>... </APPLET> is copied in the clipboard
at the same time as the creation of HTML file; this can be
useful for a direct paste in HTML code of a web page. A menu
named "Upload on the Web" allows after connection to internet
the transfer of Web page, corresponding Cabri figure and
perhaps background image on a shared Web site to encourage
direct publishing of CabriJava figures on simple clic. After
the transfer, the URL of the newly Web page is displayed and
copied in the clipboard to allow its referencing. It is also
suggested to place a link in the constructing CabriJava gallery
at http://cabrijava.free.fr
In case of working on a prerecorded HTML file, CabriWeb
detects one or several CabriJava applets in the choosen file. If
many CabriJava applets are called a dialog allows to choose one
for editing parameters applet. When recording HTML file, all the
text preceding and forwarding the choosen applet tag
<APPLET...>...</APPLET> is stored; only the edited
CabriJava applet tag is updated with new parameters. Take notice
of the possibilty of writing in HTML file a placeholder tag like
these
<APPLET CODE=CabriJava> </APPLET> or
<APPLET CODE=CabriJava.class> </APPLET>
When reading such an empty applet tag, an empty window opens
for the placeholder; then you have first to choose a Cabri figure
to animate with CabriJava, afterwards you can edit its
parameters..