The distribution includes a file

jmol2.js

which  allows the older jsmol.js syntax such as

jmolButton()

jmolScript()

etc.

to be used without change. I think they are all implemented.

But the new way is recommended:

Jmol.jmolButton(appletID, "script", "label")


see
http://wiki.jmol.org/index.php/Jmol_JavaScript_Object#Conversion_using_the_Jmol2.js_.27adapter.27_library


On Tue, Sep 10, 2013 at 7:26 PM, Paul Pillot <
paul.pil...@ac-orleans-tours.fr> wrote:

> Try:
>
> Jmol.script(jmolAppletObjectNameComesHere,"load =PDBID")
>
> where jmolAppletObjectNameComesHere is the name you gave to your jmol
> object instance at creation
>
> Paul
>
> Le 10 sept. 2013 à 18:01, Amjad Farooq a écrit :
>
> Bob,
>
> I checked out your new JSmol page with the protein loaded in at:
> http://chemapps.stolaf.edu/jmol/jsmol/simple.htm
>
> The response time for this JSmol page is very fast and on par with Jmol. I
> see no differences between the two with this new JSmol javascript that you
> are using. So, kudos to you! And this is really cool development. Heck with
> this Java nonsense. I am gonna switch to JSmol and use it exclusively from
> now on. It is much easier and more widely acceptable as many of my
> collaborators do not have Java installed on their machines. Thank you!
>
> One quick question:
> I notice that you also incorporated JmolButton, JmolCheckbox and JmolMenu
> into JSmol. But, how do I use JmolScript feature of Jmol in JSmol?! For
> example, I use the following javascript a lot in my Jmol:
>
> <script type="text/javascript">
> function pdb() {
> jmolScript("load =PDBID")
> </script>
> <button onClick="pdb();">Load PDB</button>
>
> How do I use the JmolScript syntax in JSmol?
>
> Thanks,
> Amjad
>
>
>
>
>
>
>
>
> On Tue, Sep 10, 2013 at 3:18 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>> Angel, I'd appreciate your assessment of
>>
>> set platformSpeed
>>
>> Are there settings that you prefer for specific types of compounds? What
>> would you recommend for proteins in general?
>>
>> Bob
>>
>>
>>
>> On Mon, Sep 9, 2013 at 12:51 PM, Angel Herráez <angel.herr...@uah.es>wrote:
>>
>>> > Something odd there. That's not been our experience.
>>>
>>> Well, my experience is that Java Jmol is faster than JSmol. Of course
>>> this has improved a lot in the las few months and now it's rather
>>> tolerable, and all depends on the size of the molecule loaded and
>>> even personal perception, but for me yes, Java is still more agile in
>>> both loading and responsiveness of the model.
>>>
>>> I am not denying the need to move forward into non-Java systems and
>>> the excellent achievement in JSmol and prospects for the future.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>>> Discover the easy way to master current and previous Microsoft
>>> technologies
>>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>>> tutorial videos with LearnDevNow. Subscribe today and save!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&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
>>
>>
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
>
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk_______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&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
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to