JavaScript Reference/Javascript Methods/IsSubscribed

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

"IsSubscribed()" Example

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



"IsSubscribed()" is applied to

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



"IsSubscribed()" Syntax, Parameters and Note

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.