|
From: Kubasik, M. <MKu...@fa...> - 2014-01-16 14:00:12
|
Bob,
The previous problem persists. When I request the page to show a drop-down menu of frames/frame names, Chrome's javascript console still offers:
Uncaught ReferenceError: JmolApplet0 is not defined.
Initializing jsmol is new to me. Maybe I'm doing it wrong. I have var Info defined in the page's <head> tag and in <body> I have:
jmolApplet0 = Jmol.getApplet("jmolApplet0", Info)
Matt Kubasik
From: Robert Hanson <ha...@st...<mailto:ha...@st...>>
Reply-To: "jmo...@li...<mailto:jmo...@li...>" <jmo...@li...<mailto:jmo...@li...>>
Date: Thursday, January 16, 2014 2:22 AM
To: "jmo...@li...<mailto:jmo...@li...>" <jmo...@li...<mailto:jmo...@li...>>
Subject: Re: [Jmol-users] vibrate.htm for Gaussian output?
We identified a problem with jmolGetPropertyAsArray today, and that may be the problem. Please try the version at
http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.6_2014.01.15.zip
___JmolVersion="14.1.6_dev_2014.01.15"
bug fix: GETPROPERTY command and function can return SV.toString() rather than property escaped value
bug fix: Jmol.getPropertyAsArray for certain arrays returns string "[object Array]"
If that doesn't solve the problem, let me know.
Bob
On Wed, Jan 15, 2014 at 6:34 PM, Kubasik, Matt <MKu...@fa...<mailto:MKu...@fa...>> wrote:
Dear Bob and List,
I've been trying to adapt Bob's vibrate.htm document to
1. read local Gaussian files (containing normal mode info) ;
2. Provide a drop-down menu of the normal modes.
Non-working page is found here:
www.neon22.com/jsmol/jsmol/jsmolvib700_e.htm<http://www.neon22.com/jsmol/jsmol/jsmolvib700_e.htm>
I think my problem is with the syntax of jmol.getpropertyasarray.
Using
var InfoM = Jmol.GetPropertyAsArray(JmolApplet0,"modelinfo.models.name<http://modelinfo.models.name>")
Gives the following int the javascript console:
Uncaught ReferenceError: JmolApplet0 is not defined
Any ideas?
Matt
PS A more direct adaptation for Gaussian files for vibrate.htm is here:
http://www.neon22.com/jsmol/jsmol/vibrateMKd_6.htm
This version produces a drop down list as with Bob's original vibrate.htm. But for this version, the "read" button does not function. Hints for fixing either attempt would be appreciated.
------------------------------------------------------------------------------
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
Jmo...@li...<mailto:Jmo...@li...>
https://lists.sourceforge.net/lists/listinfo/jmol-users
--
Robert M. Hanson
Larson-Anderson Professor 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
|