about:plug-ins displays information about plug-ins you have configured. this is the same as choosing about plug-ins from the navigator's help menu.
properties
methods
event handlers
例子
example 1. the following two statements are equivalent and set the url of the current window to the netscape home page:
example 2. the following statement sets the url of a frame named frame2 to the sun home page:
相关 the example for the anchor object.
相关
location property
a string specifying the complete url of the document.
语法
document.location
property of
描述
do not confuse the location property of the document object with the location object. you cannot change the value of the location property (document.location), but you can change the value of the location object's properties (window.location.propertyname). document.location is a string-valued property that usually matches what window.location.href is set to when you load the document, but redirection may change it.
location is a read-only property of document.
例子
the following example displays the url of the current document:
document.write("the current url is " + document.location)
相关
log method
returns the natural logarithm (base e) of a number.
语法
math.log(number)number is any positive numeric expression or a property of an existing object.