Ah, I've discovered the problem. I was placing a percent sign after the
number, which (I would presume) was causing problems.
I'm out and about right now, but I'll try to throw together an example page
in the near future.
On Saturday, January 26, 2013, Robert Hanson wrote:
> (the zoomTo problem is fixed)
>
>
> On Sat, Jan 26, 2013 at 8:55 AM, Robert Hanson <hans...@stolaf.edu> wrote:
>
> I guess I will need to see that script. The following works for me:
>
> script: "set antialiasDisplay;background white;load caffeine.mol;zoom
> 50;background blue"
>
> although the following does not properly wait:
>
> script: "set antialiasDisplay;background white;load caffeine.mol;zoomTo 2
> 50;background blue"
>
>
>
> On Sat, Jan 26, 2013 at 4:33 AM, Michael Evans <evan...@illinois.edu>wrote:
>
> I am...I should be a little more specific. I had a zoom command in the
> script parameter of the Info object, and that caused the behavior. Removing
> the command fixed the problem, so I know zoom is to blame. Could be
> something with the Info.script object, though.
>
>
> On Friday, January 25, 2013, Robert Hanson wrote:
>
> I'm certainly not seeing that. Are you using the latest at
> http://chemapps.stolaf.edu/jmol/jsmol.zip ?
>
>
> On Fri, Jan 25, 2013 at 10:06 PM, Michael Evans <evan...@illinois.edu>wrote:
>
> Hey all! In JSmol, running the "zoom" command results in the failure of
> all subsequent script commands. Apologies if this is a documented bug or
> if zoom hasn't been implemented yet; just wanted to bring it to everyone's
> attention. In the course of migrating over a bunch of pages from Jmol to
> JSmol using find/replace and regular expressions, this
> bug/feature/potentiality had me beating my head against the wall.
>
> Cheers, Mike
>
> ---
> Michael Evans
> Organic Chemistry Graduate Student, Moore Group
> University of Illinois, Urbana-Champaign
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> 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, Chemistry Department
> 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
>
>
>
> --
>
> ---
> Michael Evans
> Organic Chemistry Graduate Student, Moore Group
> University of Illinois, Urbana-Champaign
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> <http://p.sf.net/sfu/learnnow-d2d>
>
>
--
---
Michael Evans
Organic Chemistry Graduate Student, Moore Group
University of Illinois, Urbana-Champaign
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users