Might have some capitalization issues there. But in any case, that method is pretty much deprecated. Much better is the LOAD DATA command, with the .script() method. Create a JavaScript string:


LOAD DATA "mymodel"
.... model data here...
END "mymodel"  ...more load options here...
... more scripting here


This allows you more flexibility.

Bob


On Wed, May 30, 2012 at 2:06 PM, James Wonsever <jwonsever@lbl.gov> wrote:
I'm trying to do something like jmol.sourceforge.net/demo/jssample2, but I can't seem to get jmolLoadInline to work at all.  I always get an error saying applet.loadInlineString(model, "", false) is not a function.   Has anyone seen this before?  Does anyone have a fix/alternative?  I want jmol to load a model from a javascript variable.

-James

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users




--
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