Table of Contents


This is a highly customizable and very easy to use Cascade Expanding template.

User experience

A user opens the webpage and sees the initial banner in the placement. The user has two options for interacting with the banner. On expand action button click, the initial panel expands down and reveals another panel below. All in all, three vertically tiled/expanded panels can be displayed. Each panel expands below the previous one. Alternatively, a user can interact with the banner by clicking up and down arrows either on collapsed part or the expanded one. The arrows allow switching between panels. All in all, user can switch between four panels.

The banners can offer additional video or other rich media experience. The banners accommodate a link to the defined landing page. The panels remain expanded until the “Close” button is clicked. The ad expands or panels are switched as many times as the user clicks the call to action buttons.

Creative assets

The following items are to be delivered by a creative agency:

  • Video player needs a MP4/WEBM format videos (it is recommended to have more than one video file type).
  • A poster for the video (video container will be black before playing the video if a poster is not provided).
  • Backup image (PNG/JPEG), which will be displayed if a user's browser does not support HTML5.
  • Banner assets containing manifest.json file and HTML file zipped together with images, scripts and other material.

NOTE: manifest.json file and HTML file should be in the root directory of the .zip file.

Customizing the banner

The file “index.html” can be adjusted to customize the banner components.

NOTE: In order to use Adform components for HTML, it is necessary to define global preloadQueue array, where you push all the wanted components to preload before script execution and to load Adform.DHTML.js

These are the values that can be changed:

  • "cascadeButtons"- id of control buttons container;
  • "cascadeExpand"- id of element which will be assigned for expanding;
  • "cascadeCollapse" - id of element which will be assigned for collapsing.

These are the values of Panels Slide component that can be changed:

  • "elementId" - element id in which PanelsSlide will be drawn;
  • "direction" - slide move direction;
  • "prevButtonId" - (Optional) element which will be assigned for going to previous slide;
  • "nextButtonId" - (Optional) element which will be assigned for going to next slide;

These are the values of Panel Flip component that can be changed:

  • "wrapper" - element containing PanelFlip panels (DOM element);
  • "columns" - number of panels to display in each row;
  • "rows" - number of panels to display in each column;
  • "animationDuration" - flipping animation duration in seconds (float, greater than 0);

INFO: Please refer to the Panels Slide component and to the Panel Flip component for more detailed information on component setup and behavior.

Manifest.json file

  • Manifest.json file should define the ad dimensions and the HTML file which is used as a banner source.
  • HTML file should include Adform HTML library which enables the banner to receive a clickTAG variable:
    <script src=""></script>


  • “Expand” and “Close” buttons required.
  • Clicking on the ad navigates the user to a landing page URL in a new window.


  • Available on user click only. Off by default.
  • Audio mute button or volume control required.


  • User-initiated video.
  • Stop/Pause and Play button controls required.

How to setup

  1. In the Initial Settings step, name your banner, select Category as “Expandable” and Format as “Cascade”. Select a Banner Batch from the drop-down menu.
  2. When it's done, click the Next button.
  3. In the next step, you are asked to select or upload assets. If you have previously uploaded the assets to the system, click the Select button and choose Banner source, i.e. select HTML File named HTML_Cascade. Make sure that the clickTAG is present.

  4. NOTE: Additional assets should be assigned by default order:
    • Video files (MP4/WEBM) should be assigned as first two additional assets;
    • Video poster goes as a third additional asset;
    • Backup image should be assigned as Backup Image via Banner Settings panel.

  5. Click the Next button and adjust the Settings:
  6. When done, click the Save button in order to see the preview. If everything is fine, click the Submit button.
  7. Additional info

    In order to deliver HTML5 banners fully compliant with the specs, follow the instructions on Producing HTML5 banners in Adform Test and Support Center:

    Supported Browsers

    Desktop browser version
    Internet Explorer 8 (and bellow) not supported (backup image)
    Internet Explorer 9 fully supported
    Internet Explorer 10 & 11 fully supported
    Edge fully supported
    Firefox (newest version) fully supported
    Chrome (newest version) fully supported
    Safari (newest version) fully supported