HBCMS更多的中文手册参考:

AddChannel Method

DHTML文档教程

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

dhtml语法

window.external.AddChannel(sURLToCDF)

Parameters

sURLToCDF Required. 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 (htas).

DHTML代码范例

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

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

是否符合公共标准

There is no public standard that applies to this method.

Applies To

external

更多语法参考

Introduction to Active Channel Technology