Thank you to all for the suggestions.
Working on 14.0.5
Jmol.script(jmol0,'load data/123.pdb; select all; color blue; refresh;');
alert(“Back”);
Jaim
On Jan 13, 2014, at 2:49 PM, Otis Rothenberger
<[email protected]<mailto:[email protected]>> wrote:
I'm using 14.0.2. I can check out 14.0.5 later this morning.
I should have mentioned in the previous note that the function without an
argument no longer needs the quotes around the javascript.
The javascript command has been fussy for me for years. Keeping quotes out of
the javascript itself made my problems go away - hence the function with no
argument.
Otis
--
Otis Rothenberger
[email protected]<mailto:[email protected]>
http://chemagic.com
On Jan 13, 2014, at 7:36 AM, Jaime Prilusky
<[email protected]<mailto:[email protected]>> wrote:
Have you tried it on 14.0.5 with HTML5?
Jaim
On Jan 13, 2014, at 2:26 PM, Otis Rothenberger
<[email protected]<mailto:[email protected]>> wrote:
I use the javascript command frequently. From past experience, arguments in
functions can cause issues. At a minimum, I would put quotes around the
javascript itself. I think this has to be rigged so that these are double
quotes - i.e. javascript "alert('Hey there!')" This means changing your quote
structure in the whole Jmol script.
One thing that made issues go away for me completely is to simply use a
function without an argument. That function, when called, can do anything you
need done after the Jmol script executes.
Otis
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users