Title: RE: [jdjlist] Applet to Applet communication across different HTML Frames!

First, let me put in my 2 cents: what an *atrocious* idea!!! :-0

But here is the way:

Use _javascript_ to set a variable in the frame 1 from applet 1.  read this variable with _javascript_ from the frame 2 and set it in the applet 2, etc.  You can set this directly from any frame using _javascript_:

top.frame2.document.applet2.setValue( top.frame1.document.applet1.getValue() );

You can set global applet vars or use getters/setters as above.

However, I would find a way around it without using any applets or else use only 1 applet.

Greg

-----Original Message-----
From: Janakiraman Nellissery [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 15, 2003 1:40 AM
To: jdjlist
Subject: [jdjlist] Applet to Applet communication across different HTML
Frames!


Hi Group,
Suppose I have ay 3 diff Frames in my html page and each of the pages have
an applet, I need these applets to communicate with each other, how do I
achieve this.? I know that within the same frame, we can do that using
appletcontext. Can anyone throw light on this?
TIA
-Janaki


---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to