User:Eric Martz/JSmol Notes: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
Line 153: Line 153:
*Edit any references to files or directories in the jsmol directory to prefix those with "jsmol/", so the .htm file that is in the same directory with the jsmol directory can "find" those files. For example, in simple.htm, two changes are needed (additions in boldface):
*Edit any references to files or directories in the jsmol directory to prefix those with "jsmol/", so the .htm file that is in the same directory with the jsmol directory can "find" those files. For example, in simple.htm, two changes are needed (additions in boldface):
**<script type="text/javascript" src="'''jsmol/'''JSmol.min.js"></script>
**<script type="text/javascript" src="'''jsmol/'''JSmol.min.js"></script>
** j2sPath: "'''jsmol/'''j2s",