Web Part: Jazz Ad Display

Modified on 2014/09/18 17:24 by Charles — Categorized as: Jazz Web Parts

Table of Contents [Hide/Show]


Jazz Ad Display Web Part

The Jazz Ad Display Web Part displays a rotating ad image.

Ad sizes include:
  • W480H80 used for Windows Phone 8 Ads
  • W728H90_1 used for Windows 8 Image Ad with click to Full Screen Image
  • W728H90_2 used for Windows 8 Video Ad with click to Full Screen Video

Ads are automatically retrieved from the "~/xml/ads.xml" file found on the website. If no file is found, then no ads are displayed.
Figure 1: Jazz Ad Display

Figure 1: Jazz Ad Display


Format of the Ads File

Fields found in the Ad include:
<?xml version="1.0" encoding="utf-8" ?>
<Ads xmlns="http://schemas.WiebeWorks.com/AspNet/LinksFile">
  <Ad>
    <Path>~/imageAds/ad1.png</Path>
    <Link>http://www.windowsphone.com/en-us/search?q=Wiebeworks</Link>
  </Ad>
  <Ad>
    <Path>~/imageAds/adWW.png</Path>
    <Link>http://www.WiebeWorks.com</Link>
  </Ad>
  <Ad>
    <Path>~/imageAds/adJetfire.png</Path>
    <Link>http://www.jetfire.ca</Link>
  </Ad>
  <Ad>
    <Path>~/imageAds/AdEnhansoft.png</Path>
    <Link>http://www.enhansoft.com/pages/eam.aspx</Link>
    <Weight>2</Weight>
  </Ad>
  <Ad>
    <Path>~/imageAds/ad1-728x90.png</Path>
    <Link>http://www.windowsphone.com/en-us/search?q=Wiebeworks</Link>
    <Size>W728H90_1</Size>
  </Ad>
  <Ad>
    <Path>~/imageAds/adWW-728x90.png</Path>
    <Link>http://www.WiebeWorks.com</Link>
    <Size>W728H90_1</Size>
  </Ad>
  <Ad>
    <Path>~/imageAds/adJetfire-728x90.png</Path>
    <Link>http://www.jetfire.ca</Link>
    <Size>W728H90_1</Size>
  </Ad>
</Ads>

Access

This Web Part is accessed by the Jazz Custom Library.

Edit Properties

Custom Edit properties include:
  • Ad Size: The ad size to be displayed in the Web Part.
Figure 2: Editor for Jazz Ad Display

Figure 2: Editor for Jazz Ad Display