Author Thomas Schilling on 03-29-2001 at 14:10 (EST)
|How can I find out that Java is turned on in the user's browser?
|Messages In This Discussion|
| 1. RE: Java Check|
Author Bill Weiner on 03-29-2001 at 23:41 (EST)
|In Netscape browsers, look under "Edit - Preferences - Advanced". |
In IE browsers, look under "Tools - Internet Options - Advanced".
Note that you can always put HTML within the Java tags like this:
< APPLET CODE="uShopInitialize.class" CODEBASE="../classes/" WIDTH=201 HEIGHT=61 >
< PARAM NAME="image" VALUE="ushop_logo.gif" >
< PARAM NAME="currency_symbol" VALUE="$" >
< PARAM NAME="show_euro" VALUE="NO" >
You must have a Java Enabled browser.
< /APPLET >
... and the "You must have a Java Enabled browser." message will be displayed if the Java applet isn't.
| 2. Java Check by Java Script|
Author Thomas Schilling on 03-30-2001 at 06:45 (EST)
|I am looking for some Java Script code so I can display an alert box when Java is not turned on. Do you have any?
| 3. RE: Java Check by Java Script|
Author Bill Weiner on 04-05-2001 at 21:07 (EST)
alert("You must have a Java-Enabled browser.");
< /script >
| 4. Great and ...|
Author Thomas Schilling on 04-25-2001 at 19:41 (EST)
|Superb, it worked after I removed some of the extra spaces you wrote.|