JavaScript Reference/Javascript Methods/AutoScan

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"AutoScan()" Example

   <source lang="javascript">
   

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


     </source>
   
  


"AutoScan()" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |external | +----------------+--------------------------------------------------------------+

     </source>
   
  


"AutoScan()" Syntax, Parameters and Note

   <source lang="javascript">

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.


     </source>