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
--
Otis Rothenberger
[email protected]
http://chemagic.com
On Jan 13, 2014, at 7:03 AM, Angel Herráez <[email protected]> wrote:
> I agree that the use of refresh is often needed; that's my
> experience, in many occasions it's been key.
>
> However, the doc says otherwise:
> http://chemapps.stolaf.edu/jmol/docs/#refresh
>
> "(Unnecessary, and thus deprecated.)"
>
> I would remove that phrase, Bob :)
>
>
>
>
> ------------------------------------------------------------------------------
> 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