Site Map  --> Home  -->  Java Mage -->  Instructions


Java Mage: Do-It-Yourself Instructions
(how to use JavaMage in your own webpages)


To put an interactive Java kinemage onto your own Web page, download MageJava.jar from the Java Mage section of the Display Software page. Make your kinemage using Prekin and the normal Mage. (Keep it small and simple for performance considerations in the browser.) Add the following to your HTML document:

     <P>
        <APPLET CODE="Magelet.class" ARCHIVE="MageJava.jar"
        ALIGN="bottom" WIDTH="420" HEIGHT="300">
        <PARAM NAME="kinemage" VALUE="name.kin">
        </APPLET>
     </P>


(where name.kin is the kinemage file name), and put both the .kin file and the MageJava.jar file in the same directory as the html file that refers to them. Specify a square window plus 120 pixels for the button panel (e.g., width="420" height="300" in the example above). If you want stereo, use double width +120 and add the keyword "@stereo" to the kin file. For help making and editing kinemages, see the documentation, tutorials, and examples available from the Mage Page.



Other Java
Mage pages:
Java Mage
Home
Insulin Ribbon  Asn/Gln Flip  3D literacy test  Geodesic
Dome Kit
 
World Map  Do-It-Yourself
Instructions


[Home] Kinemages Java Mage Software: [MolProbity] Validation Rotamers FTP 2D Gallery Lab Info [Site Map]
Display Contacts Utility