version 1.1, 2005/07/01 20:23:42
|
version 1.2, 2005/07/05 14:11:47
|
Line 44 function jmolInitialize(codebaseDirector
|
Line 44 function jmolInitialize(codebaseDirector
|
codebaseDirectory.indexOf("https://") == 0) |
codebaseDirectory.indexOf("https://") == 0) |
alert("codebaseDirectory should be directory relative,\n" + |
alert("codebaseDirectory should be directory relative,\n" + |
"not be an absolute URL : " + codebaseDirectory); |
"not be an absolute URL : " + codebaseDirectory); |
else if (codebaseDirectory.charAt(0) == '/') |
// else if (codebaseDirectory.charAt(0) == '/') |
alert("codebaseDirectory should be directory relative,\n" + |
// alert("codebaseDirectory should be directory relative,\n" + |
"not relative to the root of the web server : " + codebaseDirectory); |
// "not relative to the root of the web server : " + codebaseDirectory); |
_jmolSetCodebase(codebaseDirectory); |
_jmolSetCodebase(codebaseDirectory); |
_jmolOnloadResetForms(); |
_jmolOnloadResetForms(); |
_jmol.initialized = true; |
_jmol.initialized = true; |