www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 banner Property
banner Property

Gets the banner content of an entry in an Advanced Stream Redirector (ASX) file.

Syntax

[ sBanner = ] object.playList.activeTrack.banner

Possible Values

sBannerString that receives the banner content of an entry in an ASX file.

The property is read-only. The property has no default value.

Remarks

banner was introduced in Microsoft Internet Explorer 6.

Examples

This is an example entry in an ASX file.

<ASX Version="1.0" PreviewMode="No" >
<entry>
<title>First title</title>
    <author>Unknown 1</author>
    <copyright>1998</copyright>
    <abstract>WAV File</abstract>
    <ref href=""/>
    <banner href = "first_title.gif" >
        <moreinfo href = "first_title.doc" />
        <abstract>Visit the first abstract Web site</abstract>
    </banner>
</entry>
</asx>

The following example demonstrates how to retrieve the banner content.

...
function updateFields(){
//...
    banner1.innerText = m1.playList.activeTrack.Banner;
    bannerabstract1.innerText = m1.playList.activeTrack.BannerAbstract;
    bannermoreinfo1.innerText = m1.playList.activeTrack.BannerMoreInfo;
}
...
<t:media id="m1" src="/workshop/samples/author/behaviors/media/media.asx"
    
    />
...
<B>Banner:</B>&nbsp;&nbsp;<SPAN id="banner1"></SPAN>
<BR>
<B>Abstract for banner:</B>&nbsp;&nbsp;<SPAN id="bannerabstract1"></SPAN>
<BR>
<B>More information on banner:</B>&nbsp;&nbsp;<SPAN id="bannermoreinfo1"></SPAN>
...
This feature requires Microsoft® Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Applies To

playItem
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG