JavaScript Reference/Javascript Methods/AutoScan
Версия от 18:30, 25 мая 2010; (обсуждение)
"AutoScan()" Example
<html>
<head>
<script language="JavaScript">
function function1() {
window.external.AutoScan("wbex", "index.htm");
}
</script>
</head>
<body>
<button onclick="function1();">Open wbex.ru site</button>
</body>
</html>
"AutoScan()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |external |
+----------------+--------------------------------------------------------------+
"AutoScan()" Syntax, Parameters and Note
Note:
Connect to a web server.
Syntax:
window.external.AutoScan(param1, param2, param3)
Parameters:
param1 Required; the domain address without www. and the . extension.
param2 Required; the web page to connect to if param1 is invalid.
param3 Optional; a target window or frame.