I am a bit surprised jmolScript did not work. But it probably has to do
with timing. Can you send me a link to the site so I can check it? Or
perhaps a zipped up version of the file?
On Fri, Feb 5, 2016 at 9:11 AM, Dave Howorth <dhowo...@mrc-lmb.cam.ac.uk>
wrote:
> I am updating a web page to use the latest JSmol version of jmol. The
> previous version used Jmol.js
>
> I am having trouble understanding how to load a different molecule into
> the display. The page loads and displays an initial molecule, but there
> are links on the page that [should] cause it to replace that molecule in
> the display with other ones.
>
> The previous version used jmolScriptWait(jmol_script, jmol_target) but
> I'm not sure what the new idiom is. A direct replacement with
> Jmol.script(myJmol, jmol_script) doesn't seem to work.
>
> Any pointers to suitable tutorials or example code gratefully received.
> Cheers, Dave
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users