browser details




JavaScript Source Code 3000: User Details: Browser Details

































Browser Details








If your visitors are not quite sure the details of the browser they are using, you can show them with the neat little script. The script will produce a table that shows the browser name, version, code name, and user agent.








Browser Name:



Browser Version:



Browser Code Name:



User-Agent:








JavaScript Source Code 3000: User Details: Browser Details
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!




    





<!-- THREE STEPS TO INSTALL BROWSER DETAILS:

1. Paste the final coding into the HEAD of your HTML document
2. Add the onLoad event handler to the BODY of your HTML document
3. Copy the last code into the BODY of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT>

<! >
<! >

<!-- Begin
function whatBrowser() {
document.Browser.Name.value=navigator.appName;
document.Browser.Version.value=navigator.appVersion;
document.Browser.Code.value=navigator.appCodeName;
document.Browser.Agent.value=navigator.userAgent;
}
// End -->
</SCRIPT>

<!-- STEP TWO: Add the onLoad event handler to the BODY of your HTML document -->

<BODY onLoad="whatBrowser()">

<!-- STEP THREE: Add this last code into the BODY of your HTML document -->

<CENTER>
<TABLE BORDER>
<FORM NAME="Browser">
<TR>
<TD> Browser Name: </TD>
<TD> <INPUT TYPE="txt" NAME="Name" Size="45"></TD>
</TR>
<TR>
<TD> Browser Version: </TD>
<TD> <INPUT TYPE="txt" NAME="Version" Size="45"></TD>
</TR>
<TR>
<TD> Browser Code Name: </TD>
<TD> <INPUT TYPE="txt" NAME="Code" Size="45"></TD>
</TR>
<TR>
<TD> User-Agent: </TD>
<TD> <INPUT TYPE="txt" NAME="Agent" Size="45"></TD>
</TR>
</FORM>
</TABLE>
</CENTER>



<!-- Script Size: 1.40 KB -->











Wyszukiwarka

Podobne podstrony:
detail
detailX
browse article view (2)
browse map
detail0
detail8
detail8
detailed
browser info
browse archive
browse
browse articles?it y (2)
detail 3
browse article pview (2)
detailP
public web browser 5 z6ithnb7xpg7i5uotahfpwhmyj63ymcr63txwai z6ithnb7xpg7i5uotahfpwhmyj63ymcr63txwai
detail?
AutoCAD Structural Detailing Stal Przykłady 2009
detailA

więcej podobnych podstron