JavaScript Reference/Javascript Methods/AddChannel

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

"AddChannel()" Example

   <source lang="javascript">
   

window.external.AddChannel("http://www.yoururl.ru/your.cdf");

 Note   

The preceding example requires a .cdf file, which is created using C++.


     </source>
   
  


"AddChannel()" is applied to

   <source lang="javascript">

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

     </source>
   
  


"AddChannel()" Syntax, Parameters and Note

   <source lang="javascript">

Note: This method is part of Microsoft"s Active Channel technology. It allows web users to receive updated pages automatically. This method adds a channel on the user"s system to allow future updates.

Syntax:

window.external.AddChannel(param1)

Parameters:

   param1   Required; the URL of the CDF file to be installed on the user"s machine.
   
     
     </source>