[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Java Menus
Hi Steffen,
At 02:21 AM 7/7/01 +0200, you wrote:
>especialy how to pass the informations about the
>state of the java menu (or java script menu) to the next page and
>evaluate it here.
Use 'LiveConnect' to interact with Java Applets.
Have a look at:
http://www.codestore.net/A55692/store.nsf/all/67CB4D15E50B305C862569FC003FBD7C?OpenDocument
Include:
import netscape.javascript.*;
in your Java code.
This lib is in jaws.jar (Windoz machines), so be sure to set your include
path to it when you compile your thingy.
Create a JavaScript routine that will set the parameter of choice. Call it
with the onLoad in the body-tag of your page.
Of course you'll have to facilitate the Applet with functions that can
get/set the properties you'd like to change on the fly.
The Java Applet can set/read form variables in your page and call
JavaScript routines (Be sure to add MAYSCRIPT in the Applet tag)
Good luck,
Ton Verhagen