OK, one difference that needs to be clearly stated somewhere is that with
JSmol you cannot do this:
Jmol.setDocument(0)
myapplet = Jmol.getApplet("myApplet", Info)
Rather, at least for now, you must use:
myapplet = Jmol.getApplet("myApplet", Info)
directly in the location you want it. That's because as soon as you do
that, JSmol starts getting the necessary JavaScript files. Not sure I can
fix that. I remember trying and giving up.
I'm sure that's your problem, Andreas.
Bob
On Sun, Feb 24, 2013 at 5:22 PM, Andreas Prlic <[email protected]> wrote:
> Hi,
>
> I am trying to get the latest jsmol to work without the default
> jmolApplet0_query _select and _submit user interface components. When I use
>
> Jmol.setDocument(0) and
>
> addSelectionOptions(false);
>
> there are uncaught TypeErrors in JSmol.js (OSX chrome)
>
> infotablediv and appletdiv have no style, which is causing exceptions in
>
> proto._showInfo and proto._show
>
> Could you take a look?
>
> Thanks,
>
> Andreas
>
>
>
>
> On Sun, Feb 24, 2013 at 2:21 PM, Robert Hanson <[email protected]> wrote:
>
>> ok, thanks. I'll look into that.
>>
>>
>> On Sun, Feb 24, 2013 at 3:15 PM, Otis Rothenberger <[email protected]
>> > wrote:
>>
>>> Bob,
>>>
>>> The clean-up does simplify things.
>>>
>>> I think minimize is broken, however.
>>>
>>> Otis
>>>
>>> --
>>> Otis Rothenberger
>>> [email protected]
>>> http://chemagic.com
>>>
>>>
>>>
>>>
>>> On Feb 23, 2013, at 4:36 PM, Robert Hanson wrote:
>>>
>>> JSmol 13.1.13 is released. This version of JSmol has fully Google
>>> Closure Compiler minimized JavaScript libraries.
>>>
>>> All the new capabilities of Jmol 13.1.13 are in JSmol, including PyMOL
>>> session file reading and cel shading, among other things.
>>>
>>>
>>> I've done some housecleaning with JSmol, moving files into
>>> subdirectories at http://chemapps.stolaf.edu/jmol/jsmol .
>>>
>>> I think you will find the organization to be much improved. The zip file
>>> containing all the files in that directory is released at
>>>
>>> https://sourceforge.net/projects/jsmol/files/
>>>
>>> with unreleased updates going to
>>>
>>> http://chemapps.stolaf.edu/jmol/jsmol/jsmol.zip
>>>
>>> The only files you need for HTML5-only pages are JSmol.min.js and the
>>> j2s/ directory.
>>>
>>> If you want to use only Java (Jmol applet), make that JSmol.min.js and
>>> java/.
>>>
>>> The js/ directory is only important if you are using WebGL, because that
>>> library is not part of JSmol.min.js. If using WebGL, you need
>>> js/JSmolThree.js and js/JSmolGLmol.js (which are not minimized).
>>>
>>> The directories make/ and test/ are not generally needed.
>>>
>>> There are three demo/test pages in the main directory, jsmol.htm,
>>> test2.htm, and simple.htm. The data/ directory just contains all the model
>>> and script files needed for these three pages.
>>>
>>> Bob
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>> ------------------------------------------------------------------------------
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>>
>>> http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>> http://p.sf.net/sfu/appdyn_d2d_feb
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> 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
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> 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
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users