"Open Local File" is not a Jmol script command. Check
http://chemapps.stolaf.edu/jmol/jsmol/simple2.htm to see how the "Load
File" link works. I believe it is just

 load ?



On Tue, Mar 29, 2016 at 1:02 PM, Philip Bays <pb...@saintmarys.edu> wrote:

> I am putting together a page and want a link on it to open local files.  I
> know that you can do this through the JSmol frank menu, but I want the link
> on the page.  I have tried the following:
>
>         <a href="javascript:Jmol.script(jmol,'console')">console</a>
>         <br><br>
>         <a href="javascript:Jmol.script(jmol,'Open local file')”>Open
> Local File</a>
>
> The link to the console opens it.  The link to the Open Local File does
> nothing.  What am I missing?
>
> Phil
>
> Philip Bays
> Emeritus Professor of Chemistry
> Saint Mary's College
> Notre Dame, IN 46556
> pb...@saintmarys.edu
>
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> 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, Department 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
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to