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

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Java
Expertise: Intermediate
Mar 10, 2000

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Providing an Alternative Image for the Non-Java Viewer

You've taken the trouble to write a Java applet, so you naturally want everyone to see it. Unfortunately, there are some viewers that still don't have a Java-capable browser or their OS doesn't support Java. When they attempt to load your page, all they will see a gray box. To solve this problem, you can specify an image to display in place of the applet. Use the <IMG> tag inside the <APPLET> tag as shown below:
 
<APPLET CODEBASE="MyAppletFolder"
CODE=Java.class
WIDTH=100
HEIGHT=200>
<IMG SRC=Alternate.gif ALT="Upgrade to Internet Explorer to view this Java 
applet.">
</APPLET>
Manoj Singh
 
Comment and Contribute

 

 

 

 

 


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

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date