Export (0) Print
Expand All
end
src
src
URL
Expand Minimize

Banner Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Gets the Banner content of an entry in an Advanced Stream Redirector (ASX) file using the event object.

Syntax

[ sBanner = ] event.Banner

Possible Values

sBanner String 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>

In the following example, the Banner property is exposed by the event object.


...
function trackChange(){
    banner1.innerText = event.Banner;
    bannerabstract1.innerText = event.Abstract;
    bannermoreinfo1.innerText = event.MoreInfo;
}
...
<t:media id="m1" src="/workshop/samples/author/behaviors/media/media.asx"
    onmediacomplete="updateBtns();updateFields();"
    ontrackchange="trackChange();"/>
...
<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>
...

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/banner.htm

Applies To

event

Community Additions

ADD
Show:
© 2014 Microsoft