On Fri, Nov 14, 2008 at 5:38 PM, Robert Hanson <[EMAIL PROTECTED]> wrote:
> Ondrej
>
> It's a LiveConnect problem. You should be seeing something -- a black
> window, maybe with the Jmol logo in the bottom right corner. The popup menu

I see a gray window.

> might work. You might be able to pull up a console.

Unfortunately, the popup menu doesn't work.

>
> What won't be working is any JavaScript connectivity. After loading
> http://www.java.com/en/download/help/testvm.xml, try this on the URL line:
>
> javascript:alert(document.applets[0].getAppletInfo())
>
>
> If you get an alert with a copyright notice, then we can talk about why Jmol
> might not be working; if you don't, it's not a Jmol problem -- complain to
> openjdk-6 folks!

I got:

TypeError: document.applets[0].getAppletInfo is not a function

however, with this:

alert(document.applets[0])

I got:

[object HTMLAppletElement]

So it seems that javascript/java is not working properly in iceweasel.

Thanks for the tip. For reference, here is a test:

http://developer.apple.com/internet/safari/samples/ColorBlockApplet.html

and neither way (e.g. js->applet, applet->js) works for me. It seems
like a known problem though:

https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/282762

Ondrej

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to