this is a LiveConnect problem. Rolf, you see that with ALL pages,
including mine? (I suppose so, as I use the same.) If you want to test a
bit, try from the command line at
http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm :
javascript:alert(document.getElementById("jmolApplet0")
[should see something about an object]
javascript:alert(document.getElementById("jmolApplet0").script)
[should see something about native code -- I suspect you won't see that]
javascript:alert(document.getElementById("jmolApplet0").script("background
red"))
[I suspect you will get a JavaScript error on this.]
Bob
Rolf Huehne wrote:
>Eric Martz wrote:
>
>
>>At 2/7/08, you wrote:
>>
>>
>>>Sometimes the connection between Javascript and Jmol doesn't work at
>>>all. Only after one or sometimes several reloads of the interface the
>>>connection works again. (And strangely a colleague of me doesn't get a
>>>connection at all on an essentially identical system, including hardware
>>>and software.)
>>>
>>>
>>Dear Rolf,
>>
>>Could you please say which linux and version, and which Firefox
>>version, has these problems?
>>
>>
>>
>
>OS : openSUSE 10.2 (X86-64)
>Browser: Firefox 2.0.0.x (currently x=10, but it started with x=0)
>Java : 1.4.2_16
>
>
>
>>In May, I will be teaching in Osaka Japan in a linux computer lab. In
>>past years, Jmol has worked perfectly in that lab, including
>>javascript-intensive sites like FirstGlance in Jmol.
>>
>>Also could you please describe the symptoms in more detail?
>>
>>
>>
>
>It is impossible to send any script commands with "jmolScript()" to
>Jmol. Every try results in the following Javascript error message:
>
> applet.script is not a function
>
>
>Message callback is still functioning.
>
>
>
>>Could you be seeing a java out-of-memory problem? On OSX and Windows,
>>this is cured by closing the browser so the JVM is closed, then
>>restarted. Have you checked the "total" vs. "max" memory (on Jmol's
>>menu, About Jmol) when the problem is occurring? If "total" is about
>>equal to "max" then you may be running out of java memory.
>>
>>
>>
>
>It is no out-of-memory problem. Jmol itself is totally functional and
>there is still plenty of free memory. Besides I have increased the
>maximum memory to 256 MB which only rarely is not sufficient for my Jmol
>usage.
>
>Regards,
>Rolf
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users