Hi Angel and Otis,
Thanks a lot, you saved me hours of trying to think what might be wrong! The jQuery issue really solved the problem and I don't think it would have crossed my mind to try to change it Thanks, Inbal ------------ Inbal Paz Bioinformatician and web developer Yael Mandel Gutfreund's lab Technion Israel Institute of Technology Tel: +972-4-8293701 From: Angel Herráez [mailto:angel.herr...@uah.es] Sent: Tuesday, November 03, 2015 3:47 PM To: jmol-users@lists.sourceforge.net Cc: Inbal Paz Subject: Re: [Jmol-users] Problems switching from java JSmol to HTML5 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