Click to return to the DHTML, HTML     
addBehavior Method     AddDesktopComponent Metho...     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

AddChannel Method


Presents a dialog box that allows the user to either add the channel specified, or change the channel URL if it is already installed.

Syntax

window.external.AddChannel(sURLToCDF)

Parameters

sURLToCDFRequired. String that specifies the URL of a Channel Definition Format (CDF) file to be installed.

Return Value

No return value.

Remarks

If the call fails, an error dialog box appears. You can suppress the dialog box by using the onerror event.

Note This method is intended for use by publishers shipping Microsoft® Active Channel™ content. Active Channel technology is available as of Microsoft® Internet Explorer 4.0 and later.

This method is not supported in HTML Applications.

Example

This example uses the AddChannel method to present a dialog box that allows the user to add the channel described in the specified CDF file.

window.external.AddChannel("http://domain/folder/file.cdf");

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

external

See Also

Active Channel Technology Overview


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.