Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Applets
Expertise: Beginner
Jul 27, 1998

Applets, URLs, and frames

Question:
I want my Web page to have three frames: one for my applet and the other two for information. How can I make it so my applet updates both frames?

Answer:
To update a specific frame, you must first give the frame a name within your HTML markup. When you call showDocument() from your applet, use the method with a signature of void showDocument(URL url, String target) . The target argument should be the name of the frame you want to be updated with the new URL.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap