Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I call Applet methods if applet is Plugin?

6 views
Skip to first unread message

Thomas Wolf

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
Clemens Duepmeier wrote:

...
> What is also needed is to give the object an id with ID="clock" in the
> object tag for example. Then you
> should use DOM Method getElementById() to reference the object, like
>
> document.getElementbyID("clock").reset()
>
> for example. This works identically in IE and browsern based on mozilla.

Well, since I originally posted the question, I corrected my <OBJECT>
and <APPLET> tags to include the "scriptable=true" parameter. Now for
IE I can call the Clock.reset() method whether Javascript is accessing
a plugin-based JVM or the native one. For Mozilla, things work when
the applet is loaded via the <APPLET> tag - I haven't tried the above
suggestion to see whether the method gets called when the applet is
loaded via <OBJECT> (didn't even know Mozilla knew about this tag :-)

BUT Netscape 4.7x (I tried 4.75 and 4.76) refuse to cooperate when the
applet is loaded via the <EMBED> tag. Has anyone succeeded with this?

Any info is still very much appreciated,
Tom


Clemens Duepmeier

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
Sorry,

> BUT Netscape 4.7x (I tried 4.75 and 4.76) refuse to cooperate when the
> applet is loaded via the <EMBED> tag. Has anyone succeeded with this?
>
> Any info is still very much appreciated,
> Tom

the java plugin for Netscape 4.7x does not support scripting from javascript
to java
with LiveConnect.
This is a limitation of the plugin architecture of the old netscape browsers.

Clemens

--------------------------------------------------------------
Clemens Duepmeier, email: duep...@iai.fzk.de, Tel: +49 7247 825721
Institut fuer Angewandte Informatik, Forschungszentrum Karlsruhe
76021 Eggenstein/Leopoldshafen (Germany)


Jay Garcia

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to

Please do NOT crosspost, especially to a .public (non-secure) group,
thanks

--
Jay Garcia - Netscape Champion
Novell MCNE-5/CNI
UFAQ - http://www.UFAQ.org

0 new messages