Blame | Last modification | View Log | RSS feed
<param name="language" value="fr" />
<!-- optional fr,nl,en default en -->
<!-- allow student to select bonds & atoms ; with colors default_atom_select_color default_bond_select_color -->
<param name="user_selection" value="1" />
<param name="default_atom_select_color" value="255,0,2" />
<param name="default_bond_select_color" value="0,255,3" />
<!-- optional for all colors Atoms & Bonds : if not set , default 140 -->
<param name="color_alpha" value="123" />
<!-- line numbers in server loaded MDLMol file -->
<param name="select_atoms" value="1,2,3" />
<param name="select_bonds" value="1,2," />
<param name="select_atom_color1" value="255,0,0" />
<param name="select_atom_color9" value="0,255,0" />
<param name="select_atom_color12" value="0,0,255" />
<param name="select_atom_color23" value="0,0,255" />
<param name="select_bond_color1" value="255,0,0" />
<param name="select_bond_color2" value="255,0,0" />
<param name="select_bond_color4" value="0,255,0" />
<param name="select_bond_color14" value="0,0,255" />
<!-- optional : integer angle in degrees -->
<param name="rotation" value="20" />
<!-- list of selectable able atoms -->
<param name="atoms" value="C,N,O,S,Mn,Ni,Mg,Pb,Ca,Li,K,Na,Si" />
<!-- if not set or missing , a button row of atoms will be show...Ketcher look alike -->
<param name="single_atom_button" value="false" />
<!-- load these URL's as template molecules : start with 'template1' -->
<param name="template1" value="http://localhost/molfiles/b.mol" />
<param name="template2" value="http://localhost/molfiles/c.mol" />
<param name="template3" value="http://localhost/molfiles/d.mol" />
<param name="template4" value="http://localhost/molfiles/e.mol" />
<param name="template5" value="http://localhost/molfiles/f.mol" />
<!-- this URL is loaded into applet : if showfile=1 it will be shown to student-->
<param name="file" value="http://localhost/molfiles/a.mol" />
<!-- if 1/yes loaded file (MDLMol/Native) is shown -->
<param name="showfile" value="yes" />
<!-- if this URL set the correct answer MDLmol file will be returned as SVG XML image -->
<param name="file2" value="http://localhost/molfiles/answer.mol" />
<!--
if exported to SVG ; use this param to set the zoomfactor of the svg molecule
click on structure : zoom in... click again ON structure : zoom out
if param zoomfactor is not set or value="1" no javascript will be appended
-->
<param name="zoomfactor" value="1.26" />
<!-- show explicit hydrogens -->
<param name="show_hydrogen" value="1" />
<!-- show explicit carbons -->
<param name="show_carbon" value="1" />
<!-- the lefthand tool button bar -->
<param name="TOOL_CURSOR" value="yes" /><!-- needed for mouse action -->
<param name="TOOL_UNSELECT" value="yes" /><!--unselect student drawing -->
<param name="TOOL_SELECT" value="yes" /><!--unselect student drawing -->
<param name="TOOL_ROTATOR" value="yes" />
<param name="TOOL_ERASOR" value="yes" />
<param name="TOOL_DIALOG" value="yes" />
<param name="TOOL_EDIT" value="yes" />
<param name="TOOL_SETATOM" value="yes" />
<param name="TOOL_SINGLE" value="yes" />
<param name="TOOL_DOUBLE" value="yes" />
<param name="TOOL_TRIPLE" value="yes" />
<param name="TOOL_ZERO" value="yes" />
<param name="TOOL_INCLINED" value="yes" />
<param name="TOOL_DECLINED" value="yes" />
<param name="TOOL_CHARGE" value="yes" />
<param name="TOOL_UNDO=" value="no" />
<param name="TOOL_REDO=" value="no" />
<param name="TOOL_TEMPLATE" value="yes" />
<param name="TOOL_CUT" value="no" />
<param name="TOOL_COPY" value="no" />
<param name="TOOL_PASTE" value="no" />
<!-- the top menu -->
<param name="MENU_BLOCK" value="yes" />
<param name="MENU_SELECT" value="yes" />
<param name="MENU_TRANSFORM" value="yes" />
<param name="MENU_ZOOM" value="yes" />
<param name="MENU_SHOW" value="yes" />
<param name="MENU_HYDROGEN" value="yes" />
<param name="MENU_STEREO" value="yes" />
<param name="MENU_HELP" value="yes" />
GetMoleculeMDLMol()
GetMoleculeNative()
GetSVG('1') : only read user drawing as SVG
GetSVG('2') : return this MDLmol file (typical answer molecule) as SVG
SetMoleculeMDLMol(String *.mol)
SetMoleculeNative(String *.el)
ReadAtomSelection()
ReadBondSelection()
send_to_wims(type) type=0,1,2