Hi Inbal
The code looks good, and indeed if the Java modality works, there should be
no major issues. I have a couple of (rather blind) suggestions you may try
I see a space at the end of the paths in Info, which should not be there.
Try using relative paths rather than absolute paths, in j2sPath and scriptURL
Try using quotes around the script file name.
script: 'script "' + scriptURL + '"; ',
In my experience, in some pages innerHTML fails to work. Try using the equivalent jQuery:
$("#" + divID).html( Jmol.getAppletHtml(jmolApplet0) );
None of them should be significant, given the java one works, but...
Good luck! Let us know the outcome
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users