AddChannel Method

MS Office 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 applicationsInternet Link.

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:
Version data is listed when the mouse hovers over a link, or the link has focus.

external

See Also

active channel technology overviewInternet Link


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.