Yes, as a matter of fact, that is true. I hadn't realized that.

//jmolInitialize(".")          // absent or commented out --> uses 
JmolApplet.jar
  jmolInitialize(".")          // present --> uses JmolApplet0.jar 
through JmolApplet6.jar
  jmolInitialize("sub_directory","JmolAppletXXX.jar")  // uses 
./sub_directory/JmolAppletXXX.jar

 (and if XXX is "0", then uses all six jar files)

  jmolInitialize(" http://......";, "JmolAppletXXX.jar")  // uses the Jar 
file at that web site (note initial space)

 (and all data files must also be from that web site)

Bob


Angel Herraez wrote:

>Bob wrote:
>
>  
>
>>Note that if you have copied JmolApplet.jar to the directory containing 
>>that web page, then there is no need for jmolInitialize(). Just comment 
>>it out (or leave it as shown below). That is, there is no longer a need for
>>
>>jmolInitialize(".")
>>
>>with recent versions of Jmol.js. jmolInitialize is only important if (a) 
>>the Jar file is not in the directory of the web page or (b)  you are 
>>using a Jar file other than JmolApplet.jar.
>>    
>>
>
>Right. This is already documented at 
>http://jmol.sourceforge.net/jslibrary/#jmolInitialize
>
>Does this also mean, as I understand, that without jmolInitialize the 
>one-piece JmolApplet.jar is used, while with jmolInitialize the split 
>JmolApplet0.jar, JmolApplet1.jar, etc. are used? This would be worth 
>mentioning.
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to