The mgiBannerAd Tag
The mgiBannerAd tag displays rotating banner ads with a database-driven administration. Banner Ads are chosen at random from the range of currently active banners. Banners with a higher number of projected hits and less time left in a contract are more likely to be displayed than banners with a lower number of projected hits and more time left in a contract.
The mgiBannerAd tag has one required parameter and two optional parameters. The tag form is:
<mgiBannerAd bannerAdSet="Table Name" defaultBannerAdSet="Table Name" mode="Admin">
Example Usage and Output
<mgiBannerAd bannerAdSet="Home" defaultBannerAdSet="Advertising">
The mgiBannerAd tag in this example would display one banner ad from the "Home" set in the location of the tag. The presentation of banner ads is based upon an algorithm that accounts for the number of banner ads, the projected hits and the period of time left in contracts.
[Return to the Referencing MGI Menu]
[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]