Article

banner

Displays information along the top of a TVML page.

Overview

The type of information displayed depends on the type of template used. Here's an example that places a banner with an image and some text inside of a formTemplate element.

<formTemplate>
   <banner>
      <img src="path to images on your server/Car_Movie_800X400.png" width="800" height="400"/>
      <description>Enter email for access</description>
   </banner>
   ...
</formTemplate>

Subelements of banner

Elements that Use banner

Topics

Valid TVML Styles

height

Specifies the height of an element.

margin

Specifies the spacing around an element.

padding

Specifies the padding between the border and contents of an element.

tv-align

Aligns an element horizontally inside its parent.

tv-position

Sets the position of an element inside of its parent element.

Valid TVML Attributes

binding

Associates information in a data item with an element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Banner Elements

identityBanner

Displays information about an artist or performer.

itemBanner

Displays information associated with an element.