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 <[email protected]> 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 <[email protected]> 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
> [email protected]
> 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users