Hi Robert,

I am utterly confused now. What is this Jmol2.js? Are you saying that using this file one can run Jmol on the client machine even if it does not have a Java installed? In other words, Jmol2.js runs Java from the server side? Is that correct?

Can someone please elaborate on this point. I recently switched to JSmol simply because many of my collaborators complained about my Jmol interface not running on their machines due to Java issues. Now, if Jmol2.js can eliminate the need for client to have a fully functional Java, then why do I need to to switch to JSmol?

I am lost on this.

Amjad

AMJAD FAROOQ PhD DIC | Associate Professor
Dept of Biochemistry & Molecular Biology | Miller School of Medicine | University of Miami | Miami | FL 33136
Located @ Gautier Building #217 | Mail @ 1011 NW 15th Street #217, Miami , FL 33136
amjad@farooqlab.net | off 305-243-2429 | lab 305-243-9799 | fax 305-243-3955 | www.farooqlab.net






On Tue, Sep 24, 2013 at 9:49 AM, Grossman, Robert B <robert.grossman@uky.edu> wrote:
I downloaded the new Jmol2.js file you gave me, and it works great!  Thanks.

So with this new JSmol, all the Java is now running server-side, is that correct?  I no longer have to worry about whether the user's Java is enabled?

From: Robert Hanson <hansonr@stolaf.edu>
Reply-To: <jmol-users@lists.sourceforge.net>
Date: Mon, 23 Sep 2013 22:18:28 -0500
To: "jmol-users@lists.sourceforge.net" <jmol-users@lists.sourceforge.net>
Subject: Re: [Jmol-users] difficulties encountered in switching to JSmol -- part deux

There may be a few differences like that. For now, just use

Jmol.script(yourAppid, 'load DATA "mydata"\n' + yourInlineData + '\nEND "mydata" ')

or give this one a try:

http://chemapps.stolaf.edu/jmol/jsmol/js/Jmol2.js




On Mon, Sep 23, 2013 at 3:15 PM, Grossman, Robert B <robert.grossman@uky.edu> wrote:
OK, I read a little further down in the Wiki and saw that I could accomplish the switch another way: leave the calls to jmolApplet(), etc. alone and instead use both JSmol.min.js and Jmol2.js as resources.  So I did so, and I also added a symlink to the jsmol/j2s folder in the same folder as the page that calls the "applet".  So now JSmol loads, but I get this alert:

jmolLoadInline not implemented

So, any chance of this method being implemented in the near future?  Or maybe it has already been implemented in a more recent version?  I'm using jsmol-13.3.4.  (BTW, I tried to download JSmol 13.3.5 from SourceForge, but decompression failed.  Instead I downloaded one of the 13.3.4 versions.)  

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
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
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

------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users