JavaScript Reference/Javascript Methods/IsSubscribed

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

"IsSubscribed()" Example

   <source lang="javascript">
   

<html> <body> <script> window.external.IsSubscribed("http://yourdomain/yourcdffile.cdf"); </script> </body> </html>


     </source>
   
  


"IsSubscribed()" is applied to

   <source lang="javascript">

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

     </source>
   
  


"IsSubscribed()" Syntax, Parameters and Note

   <source lang="javascript">

Note: Is the browser subscribed to the specified channel (a hosting application other than Internet Explorer). This method is not supported in HTAs (HTML applications). Returns true or false.

Syntax:

window.external.IsSubscribed(param1) Parameters:

   param1   Required; the URL of a .cdf file.
   
     
     </source>