Cabri Java Project
How to Publish Cabri figures on the Web

Follow these steps :

  1. construct your figures with Cabri-géomètre II (not Cabri 1...) with MacOS or Windows version (use DOS figures at your own risks..)
    In this pre-release 1.0 beta 7 version you can't use any of these items in your work :
    • Col?         colinearity ?
    • Con          conic
    • Eq/Co        equation & coordinates
    • Equi?        equidistance ?
    • Formula      calculate formula
    • Grid         grid
    • IsOn?        member of ?
    • Locus        locus
    • Par?         parallelism ?
    • Perp?        perpendicularity ?
    • PolReg       regular polygon
    • Preg         radius point of regular pol
    • Table        table
    We hope reducing drastically this too long list in future pre-release (one new relesase each month).
    Come back often on these pages for good news and new version... (date of last modification at end of page)
  2. for local testing on your computer, get the latest version of CabriJava.jar file and put it in a folder of your choice. CabriJava .jar file contains all the java-code of CabriJava applet in a compressed form (java archive).This file will be transfered on your Web server to publish your final work (transfer also figures in binary mode, if your file contains special characters like accents or degree ° sign). You can refer to the CabriJava.jar file as an unique archive for all your site with a CODEBASE parameter like this (by example in our official site) CODEBASE="/cabrijava" (in cabrijava directory at root of our web server). If your connection speed to our server is high, you can avoid this step by referencing our latest version directly by CODEBASE="http://www.cabri.net/cabrijava", but this is not the good way (in case of network problem between your Web server and Cabri server, nothing will work..).
  3. with a text editor or a HTML editor add some tags like these in your HTML file
    <APPLET CODE="CabriJava.class" archive="CabriJava.jar" WIDTH=600 HEIGHT=400 ALIGN=bottom >
    <PARAM NAME=file VALUE="figures/3D/Escher">
    <PARAM NAME=lang VALUE="en">
    <PARAM NAME=border VALUE=3>
    <PARAM NAME=background VALUE="images/1998.jpg">
    </APPLET>
    Only red tags are required. APPLET tag is described in the Java Tutorial from SUN at this page.
    CabriJava parameters allowed at this time are in a condensed form :

    Parameter Name

    Kind of Value

    Description

    file

    URL

    Cabri II figure description

    lang

    string

    'en', 'fr', 'es' or 'it': language of cursors and messages

    background

    URL

    GIF or JPEG image displayed as background

    bgcolor

    int

    color of uniform background as #RRGGBB (default white)

    border

    int

    width of border (default 1)

    bordercolor

    int

    color of border as #RRGGBB (default black)

    controller

    boolean

    controller allowed (default true)

    autocontrol

    boolean

    display of controller at start (default false)

    trace

    string

    choice of objects to trace their paths in moves as "point 12" *

    spring

    string

    choice of animation springs as "segment 15 pos 82,92 size 7,19 " or
    "point 5 size -14,-12 " *


    * these values are displayed on option or alt clic on objects or springs. Multiples springs or trace are allowed in a single parameter.
  4. test your work locally or from your Web server with good tools :

Many comments or bug reports are appreciated : don't hesitate to send to us your remarks or wishes.


Cabri Java Project - version 1.0 beta 10 - 10/07/1999