Sizmek Creative AdKit Suite for HTML5 ad developers, contains ad-related functionalities that enable you to develop HTML5 ads quickly and easily. For more information on AdKit, see OVERVIEW: Sizmek AdKit HTML5 API.
Usingthe Sizmek AdKit, you can configure a panel to expand to full screen using for HTML5 Expandable ads. The full screen size depends on the device on which the ad is served. When the ad expands to full screen, the panel size does not change, but a border is added around the panel to fit the full screen. This border is defined as the background, whereas the panel is considered the foreground area.
The following example illustrates how the ad remains the same size across all platforms and the background changes to match the screen size.
The Expand to Full Screen action contains the background settings. These settings include the background color, the opacity, and the close button. The default background is set to white.
The panel name needs to match the panel name defined in the platform.
Set the background color. Supported values are:
Image:You can add the image as an additional asset or using a URL. The image is duplicated to fit the background and is not expanded or decreased to fit the background.
solidColor: The background color is defined according to the hexadecimal color. Colors in HTML are specified by a hash (#) followed by a six-digit hexadecimal number. This number consists of three 2-digit numbers corresponding to red, green and blue (RGB) values. #FFFFFF is white and is set as the default color.
gradientColor: The gradient is defined using color, opacity and percent.
Set the direction the panels expands. Supported values are:
down ,up, left, right
Set the opacity of the solid color type.
Set the location of the close button on the panel. Supported values are: