Hello Bob,

I see the same thing with Firefox and XP. I notice that the page
source ends coordinate file lines with \n - linefeed. I wonder if this
is a cr/lf issue. I run into this problem frequently. I'm not sure
about a cross platform solution, but I wonder is ending the lines with
\r\n would work on your system.

Alternatively, I've had luck with loading an inline file from the JME
applet into Jmol with the following direct approach:

document.getElementById(MyAppleName).loadInlineString(jmeString,
"hover %a atomno=%i;echo;isosurface '';mo translucent;isosurface
translucent;", false);

Ignoring my load script, jmeString is simply the un-doctored
coordinate string (molfile) from JME - i.e. no concatenated LF or
CR/LF.

Otis

-- 
Otis Rothenberger
http://chemagic.org


On Wed, Jan 13, 2010 at 1:12 PM, Grossman, Robert B
<robert.gross...@uky.edu> wrote:
> Hi,
>
> I'm trying to figure out how to load molecular structures into Jmol from 
> JavaScript variables (instead of files).  When I go to the demo page 
> http://jmol.sourceforge.net/demo/jssample2/ , Jmol fails to load.  That is, 
> it says, "Loading Jmol applet ..." and the clock begins, but it never 
> finishes loading.  ???
>
> -- Bob
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to