if (navigator.appName == "Netscape") {
P.narrow {color:red; margin-left:5em; margin-right:5em}
This will make it consistent with the examples that surround it.
<STYLE TYPE="text/css">
P:first-letter {font-family:Gothic, serif; font-size:300%; float:left}
P:first-line {font-variant:small-caps}
</STYLE>
<META HTTP-EQUIV="refresh" CONTENT="2;url=http://www.giantco.com/basicindex.html">
if (navigator.systemLanguage == "nl") {
Whether the browser should wrap text in a TEXTAREA element and whether wrapped text should be submitted to the server with soft returns converted to hard carriage returns. A value of hard engages word wrapping and converts soft returns to CRLF characters in the value submitted to the server. A value of soft turns on word wrapping, but does not include the CRLF characters in the text submitted with the form. A value of off turns word wrapping off. The Win32 version of Internet Explorer 4 returns a value of soft when the WRAP attribute is set to the Navigator value of virtual.
Example
document.forms[0].comments.wrap = "hard"Value
One of the constant values (as a string): hard | off | soft.Default
soft
Math.floor(Math.random() * n)
where n is your top acceptable number plus 1.
Math.floor(Math.random() * n)
where m is the lowest integer of the acceptable range and n+m equals the maximum value plus 1.
|
DHTMLapi.js Example 2-1.txt Example 2-2.html Example 3-1.html Example 3-2.html Example 3-3.html Example 3-4.html Example 3-5 (NN ONLY).html Example 4-6.html Example 4-7.html |
Example 5-10.html Example 5-12 (IE ONLY).html Example 5-5.html Example 5-9 (IE ONLY).html Example 6-2.html Example 6-3.html Example 6-4.html help.html |
| Rowan | Martin |
| Martin | Lewis |