Test2.htm doesn't use controls. See testcb.htm in most recent version. 
JSmolControls.js

Sent from my stupid iPhone 

On May 17, 2013, at 8:44 AM, "Spinney, Richard" 
<[email protected]> wrote:

> I have been trying to get JSmol to work and have had a couple of problems. I 
> have a page (build off of the test2.htm demo) that uses the Java applet 
> (https://undergrad-ed.chemistry.ohio-state.edu/2310-test/info.php) , while 
> this displays the PDB and JVXL files correctly, the controls do not appear. I 
> get an error message of “error Jmol.controls undefined” and links to 
> JSmolApi.js. These lead to lines in the code of: “return 
> Jmol.controls._getMenu(….)”; and “return Jmol.control._getCheckbox(…)”.
>  
> I copied this page 
> (https://undergrad-ed.chemistry.ohio-state.edu/2310-test/info-b.php) and 
> changed it to use HTML5 (JSmol.min.js). Again the PDB files are read ok but 
> now the JVXL files don’t work while the controls (menu and checkboxs) do 
> work. The error message on this is “g._applet is null” and points to the 
> JSmol.min.js file.
>  
> I am at a loss on what is wrong here; the calls to the controls are identical 
> between the two pages, as are the load JVXL calls. It does use the serverURL 
> to call jsmol.php and it is version 13.1.16_dev_2013.5.15. Any help would be 
> appreciated.
>  
> Thanks, Rick
> --------------------------------------
> Dr. Richard Spinney
> Department of Chemistry and Biochemistry
> The Ohio State University
> 120A Celeste Laboratory
> 120 West 18th Ave
> Columbus, Ohio 43210
>  
> email: [email protected]
>  
> Phone:   (614) 247 - 6847
> Fax:       (614) 292 - 1685
>  
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to