From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

Converting DHTML to a mobile HTML5 banner

  • Replace Adform.DHTML.js with mraid.js

    Banners from Mobile category use different serving scripts then regular HTML banners. Adform DHTML used in regular HTML5 banners will not work in Mobile evironment. MRAID is only available on Mobile banners.


    <script src="//"></script>


    <script src="mraid.js"></script>

    For full MRAID specifications please visit

  • Update ClickTAGs


    var banner = document.getElementById('banner');
    clickTAGvalue = dhtml.getVar('clickTAG', ''); 
    landingpagetarget = dhtml.getVar('landingPageTarget', '_blank');
    banner.onclick = function() {,landingpagetarget);


    var banner = document.getElementById('banner');		
    banner.addEventListener('click', function() {	'clickTAG'));		
  • Update Additional Assets workflow

    Replace dhtml.getAsset(1) with Adform.getAsset(1)

    Please find an example here.