With Jmol 11.9.18, Safari 4.0.4, MacOS 10.5.8, and the following code: <script type="text/javascript"> jmolInitialize('../../nosession/jmol'); jmolAppletInline([250, 250], '\n Marvin 10270415522D\n\n 9 9 0 0 0 0 999 V2000\n -2.2457 0.8188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -2.2457 -0.0063 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 -0.4188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.8168 -0.0063 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.8168 0.8188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.1023 1.2313 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 1.2313 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 2.8813 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 2.0563 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 7 1 1 0 0 0 0\n 7 5 2 0 0 0 0\n 1 2 2 0 0 0 0\n 2 3 1 0 0 0 0\n 3 4 2 0 0 0 0\n 4 5 1 0 0 0 0\n 5 6 1 0 0 0 0\n 8 9 1 0 0 0 0\n 7 9 1 0 0 0 0\nM APO 1 9 1\nM STY 1 1 SUP\nM SAL 1 2 8 9\nM SBL 1 1 9\nM SMT 1 Et\nM END\n'); </script>
Jmol tells me that it is loading the applet, the clock begins, and the structure never loads. Same is true of this code: <script type="text/javascript"> // <!-- function getMol_0() { return '\n Marvin 10270415522D\n\n 9 9 0 0 0 0 999 V2000\n -2.2457 0.8188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -2.2457 -0.0063 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 -0.4188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.8168 -0.0063 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.8168 0.8188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.1023 1.2313 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 1.2313 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 2.8813 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5313 2.0563 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 7 1 1 0 0 0 0\n 7 5 2 0 0 0 0\n 1 2 2 0 0 0 0\n 2 3 1 0 0 0 0\n 3 4 2 0 0 0 0\n 4 5 1 0 0 0 0\n 5 6 1 0 0 0 0\n 8 9 1 0 0 0 0\n 7 9 1 0 0 0 0\nM APO 1 9 1\nM STY 1 1 SUP\nM SAL 1 2 8 9\nM SBL 1 1 9\nM SMT 1 Et\nM END\n'; } // --> </script> <table style="margin-left:auto; margin-right:auto;"> <tr><td style="text-align:center;"> <script type="text/javascript"> jmolInitialize('../nosession/jmol'); jmolAppletInline([250, 250], getMol_0(), 'background [xf6edf7];'); </script> </td> </tr> </table> Sorry to be so much trouble. -- Bob G. ________________________________ From: Robert Hanson <hans...@stolaf.edu> Reply-To: <jmol-users@lists.sourceforge.net> Date: Thu, 14 Jan 2010 11:19:40 -0500 To: <jmol-users@lists.sourceforge.net> Conversation: [Jmol-users] Jmol usually not displaying molecule Subject: Re: [Jmol-users] Jmol usually not displaying molecule 2010/1/14 Angel Herráez <angel.herr...@uah.es> How about using jmolAppletInline() ? That's what it is designed for, right? yes! Of course. I forgot that! Definitely that is the way to go here. -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users