That does not work because the jmolApplet call only initiates applet loading
but does not ensure it is complete.
Just do it this way:
jmolInitialize(".","jmol/JmolAppletSigned0.jar");
jmolApplet(["520","520"], " script scripts/reset.spt; background white;
javascript 'LoadModels()' ")
This ensu
iversity of Kent, Canterbury, Kent,
CT2 7NH
United Kingdom
e-mail: pc...@kent.ac.uk
mobile: +44 (0) 7772-9756456
---
From: Angel Herráez [angel.herr...@uah.es]
Sent: Wednesday, March 24, 2010 3:59 PM
To: jmol-users@lists.
Piero,
Sorry, I'm lost. Please be specific about what you have and what you
need to do
El 6 Apr 2010 a las 13:09, P.Canepa escribió:
> Rob, Angle
>
> I did as you said. What I see is: the file location as b, the name of the
> file as c and the title of the file as d.
> What's the way to ex
ch 24, 2010 11:26 AM
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] problem filling an html list
in Jmol:
set loadStructCallback "myfunc"
on the page:
function myfunc(appId,b,c,d) {
alert([appId, b, c, d])
}
I don't recall the exact parameters now. See
e.net
Subject: Re: [Jmol-users] problem filling an html list
Oops!
http://chemapps.stolaf.edu/jmol/docs?ver=11.10&search=callback#setcallback
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-
Oops!
http://chemapps.stolaf.edu/jmol/docs?ver=11.10&search=callback#setcallback
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is bet
On 03/26/2010 03:47 PM, P.Canepa wrote:
> Bob, Angel
> which function is going to be
>
>
> function myfunc(appId,b,c,d) {
> alert([appId, b, c, d])
>
> }
> I cannot find any explanation on
> http://chemapps.stolaf.edu/jmol/docs/index.htm?ver=11.10&search=callback#setcallback
> .
>
"myfun
c.uk]
Sent: Friday, March 26, 2010 2:36 PM
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] problem filling an html list
Bob,
can you give me the INTERNET url not your local?
file:///C:/jmol-dev/workspace/Jmol-documentation/script_documentation/index.htm?ver=11.10&search=
Piero,
always starting from
http://chemapps.stolaf.edu/jmol/docs/
(which is linked from Jmol's website)
so
http://chemapps.stolaf.edu/jmol/docs/index.htm?ver=11.10&search=callback#setcallback
--
Download Intel® Parall
M
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] problem filling an html list
in Jmol:
set loadStructCallback "myfunc"
on the page:
function myfunc(appId,b,c,d) {
alert([appId, b, c, d])
}
I don't recall the exact parameters now. See
file:///C:/jmol
> I don't recall the exact parameters now. See
>
> file:///C:/jmol-dev/workspace/Jmol-
> documentation/script_documentation/index.htm?ver=11.10&search=callback
> #setcallback
There's also a bit of info that may be helpful about how to deal with
callbacks at
http://jmol.sourceforge.net/jslibrary/
Robert Hanson [hans...@stolaf.edu]
> Sent: Wednesday, March 24, 2010 11:04 AM
> To: jmol-users@lists.sourceforge.net
> Subject: Re: [Jmol-users] problem filling an html list
>
> The way you do this is create a there but do not populate it until
> after the page is loaded and the fi
oblem filling an html list
The way you do this is create a there but do not populate it until after
the page is loaded and the file has been read. Then, in the jmolApplet load
script give the javaScript command to tell your web page that it is time to
populate the div. That uses document.getElemen
The way you do this is create a there but do not populate it until
after the page is loaded and the file has been read. Then, in the jmolApplet
load script give the javaScript command to tell your web page that it is
time to populate the div. That uses
document.getElementById("somedivid").innerHTM
Dear All
I have a javascript function LoadModels() which should load the models in an
external HTML list ! How can I let the list be populated when I load the page?
This would have to happen just after the jmolApplet(["520","520"] has been
called!
I can make it to work if I do as below
15 matches
Mail list logo