Hi,
I have a cgi-perl script that runs a web-browser
("http://dockground.compbio.ku.edu/cgi-bin/visual.cgi?pdbid=gwd45052cx”) and
uses Jmol applets to visualize protein structures.
I need to change Jmol applets to JSmol to avoid browser JAVA security issues.
I have tried several options as mentioned in
"http://wiki.jmol.org/index.php/Jmol_JavaScript_Object" but was still
unsuccessful.
My directory architecture is as under:
Main dir: contains “Jmol” dir and inside the “Jmol" dir are the files-
JSmol.min.js and Jmol2.js and the "j2s" dir.
Sub-dir: contains the cgi-perl script that calls the JSmol application as:
<script language="JavaScript"> </script>
<script src="../jmol/JSmol.min.js"></script>
<script src="../jmol/Jmol2.js"></script>
But I still don’t see anything in the visualization section.
I also tried 1) combining the contents of JSmol.min.js followed by the contents
of Jmol2.js into new document Jmol.js and,
2)Modifying function calls from the format jmolXxxx(..., appletExtension) to
Jmol.jmolXxxx(appletID, …)
but neither of them solved the problem.
Please suggest what changes I need to do for embedding JSmol in my browser.
Thanks,
Das
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users