Hi Ashok,
Just a though here: That readyFunction is great for cleaning up all kinds of
“do it after JSmol loads” operations. You may want to think about creating a
separate ready function and calling your match function from this general ready
function. That way you can put other operations in this ready function as may
be needed.
Otis
--
Otis Rothenberger
[email protected]
http://chemagic.org
> On Jan 27, 2016, at 12:44 PM, T. Ashok Kumar <[email protected]>
> wrote:
>
> Thank you... Works fine.
>
> Info = {
> j2sPath: "Jmol/j2s",
> disableJ2SLoadMonitor: true,
> disableInitialConsole: true,
> allowjavascript: true,
> readyFunction: Match
> }
>
> On Wed, Jan 27, 2016 at 6:58 PM, Angel Herráez <[email protected]
> <mailto:[email protected]>> wrote:
> Ashok,
> The script is probably running before Jmol has finished loading.
>
> Try calling the match function from within a Jmol script; this will not run
> before Jmol is ready
>
> Alternatively, use Info.readyFunction
> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Info#Startup_period
> <http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Info#Startup_period>
>
>
> ·
> Dr. Angel Herráez
> Biochemistry and Molecular Biology,
> Dept. of Systems Biology, University of Alcalá
> E-28871 Alcalá de Henares (Madrid), Spain
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> <http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140>
> _______________________________________________
> Jmol-users mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/jmol-users
> <https://lists.sourceforge.net/lists/listinfo/jmol-users>
>
>
>
> --
> T. Ashok Kumar
> Head, Department of Bioinformatics
> Noorul Islam College of Arts and Science
> Kumaracoil, Thuckalay - 629 180
> Kanyakumari District, INDIA
> Mobile:- 00 91 9655307178
> E-Mail: [email protected]
> <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>
> Website: www.biogem.org
> <http://www.biogem.org/>------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users