From: Nicolas <ni...@us...> - 2005-09-01 22:18:30
|
Update of /cvsroot/jmol/Jmol-web/source/doc/fah In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22863/source/doc/fah Modified Files: fah.js Log Message: Jmol-fah: stereo Index: fah.js =================================================================== RCS file: /cvsroot/jmol/Jmol-web/source/doc/fah/fah.js,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- fah.js 27 Aug 2005 17:27:54 -0000 1.9 +++ fah.js 1 Sep 2005 22:18:19 -0000 1.10 @@ -63,10 +63,14 @@ document.writeln(" <table border='0' cellpadding='0' cellspacing='0' width='100%'>"); document.writeln(" <tr>"); document.writeln(" <td>"); - var paramProject = getParameter("project", ""); var scriptStart = ""; + var paramStereo = getParameter("stereo", ""); + if (paramStereo != "") { + scriptStart = scriptStart + "stereo " + paramStereo + ";"; + } + var paramProject = getParameter("project", ""); if (paramProject != "") { - scriptStart = "load ../fah/projects/p" + paramProject + ".xyz.gz"; + scriptStart = scriptStart + "load ../fah/projects/p" + paramProject + ".xyz.gz;"; } jmolApplet(parseInt(getParameter("appletSize", "350")), scriptStart, "Fah"); document.writeln(" </td>"); |