JavaScript Reference/Javascript Methods/AutoScan

Материал из Web эксперт
Перейти к: навигация, поиск

"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.