KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones

Best books about Javasript

How to do it? Add the following code to your <head></head> section. These scripts detects whether JAVA web start is installed for Netscape of Internet explore. The original code is from SUN.

            

Add the following code to the proper place in your page. Also, you need download these two images ,checked.gif and unchecked.gif used by the following script. .The following code will dynamically provide the link to installJava Web Start based on the above script detection result.

 


<SCRIPT LANGUAGE="JavaScript">
<!-- Developers should be aware that for Gecko-based browsers (NS 6.x) -->
<!-- Java Web Start might not be installed ------------------------------>
if (javawsInstalled) {
<!--StartFragment -->
document.write("<table>");
document.write("<td></td><td>");
document.write("<img src='images/checked.gif'><big><font color='#990000'><b> Step 1: </b></font></big>");
document.write("It appears that Java is already installed (good!), so you can go on to next step.");
document.write("<ul><i>(In case of problems, you can <a href=\"http://www.java.com/en/download/windows_automatic.jsp\" onClick=\"window.open('http://www.java.com/en/download/windows_automatic.jsp', null,'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=no, width=800, height=600'); return false\">click here</a> to re-install the Java environment that is required by your_application_name)</i></ul>");
document.write("</td><tr>");

document.write("<td></td><td>");
document.write("<img src='images/unchecked.gif'><big><font color='#990000'><b> Step 2: </b></font></big>");
document.write("Click here to run your application(Add your jnlp file link here). ");
document.write("</td><tr>");
document.write("</table>");
}
else {

document.write("<p><table><td>");
document.write("<big>We have detected that Java Web Start needs to be installed before you can proceed.");
document.write("This is a simple two step process and you will only need to perform <b><i> the first step once. </i></b>");
document.write("Once you start the first step, an install window will pop up and you will be guided through the installation.");
document.write("This install process is simple and should take only a few minutes.");
document.write("</big></td></table><p>");

document.write("<table>");
document.write("<td></td><td>");
document.write("<img src='images/unchecked.gif'><big><font color='#990000'><b> Step 1: </b></font></big>");
document.write("<a href=\"http://www.java.com/en/download/windows_automatic.jsp\" onClick=\"window.open('http://www.java.com/en/download/windows_automatic.jsp', null,'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=no, width=800, height=600'); return false\"> Click here</a> to install the Java environment that is required by ArrayTrack.");
document.write("</td><tr>");

document.write("<td></td><td>");
document.write("<img src='images/unchecked.gif'><big><font color='#990000'><b> Step 2: </b></font></big>");
document.write("Click here to run your application(Add your jnlp file link here). ");
document.write("</td><tr>");
document.write("</table>");

}


 

 

 

Best books about ASP & ASP.Net from Amazon
JavaScript Bible, Fifth Edition (Paperback) JavaScript & DHTML Cookbook (Paperback) JavaScript: The Definitive Guide (Paperback) Beginning JavaScript Second Edition (Paperback) JavaScript: The Complete Reference, Second Edition (Paperback)

 

Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © kidslovepc.com All rights reserved(new). Privacy|Copyright
designed by info@kidslovepc.com

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer