Availability: |
| |||
JavaScript syntax: | IE | myExternal.AutoScan(aDomain, anErrURL) | ||
IE | myExternal.AutoScan(aDomain, anErrURL, aTarget) | |||
Argument list: | aDomain | The domain address of a web site | ||
anErrURL | A URL to display if aDomain is inaccessible | |||
aTarget | The target window or frame to put the content into |
This mechanism is used to find a web site when you are not certain of the URL.
The registry in the client system contains a list of top level domains such as .com, .net, .org, and .edu which will be tried one at a time until a valid connection is completed.
If none of these turns out to yield a working site address, then the error URL is accessed and displayed instead.
The browser will add the leading "www." to the domain address so you might only need to specify a domain value of "wrox" for the browser to eventually connect to "www.wrox.com".
Prev | Home | Next |
external.AutoCompleteSaveForm() | Up | external.ImportExportFavorites() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |