atan2, cos, tan methods
small
Core method. Causes a string to be displayed in a small font, as if it were in a
<SMALL> tag.
Syntax
stringName.small()
Parameters
The small method takes the following parameter:
stringName
Any string or a property of an existing object.
Method of
String
Implemented in
Navigator 2.0, LiveWire 1.0
Description
Use the small method with the write or writeln methods to format and display a s
tring in a document. In server-side JavaScript, use the write function to displa
y the string.
Examples
The following example uses string methods to change the size of a string:
var worldString="Hello, world"
document.write(worldString.small())
document.write("<P&
|