Doubleclick IE11 Issue

Hi All,

Having some issues with a dynamic advert on Doubleclick. Got a QA report saying that it doesn’t work on IE11 on Windows 7, however, works flawlessly on Chrome and Firefox. I have a feeling it has something to do with the Hypedocument Main timeline code located in the head code. I have the following code:

// find the document and load the first scene now
        for(var documentName in HYPE.documents) {
            if(HYPE.documents.hasOwnProperty(documentName) == false) {
                continue;
            }
            
            var hypeDocument = HYPE.documents[documentName];
            if(hypeDocument.sceneNames().length <= 0) {
                continue;
            }
            hypeDocument.continueTimelineNamed('Main Timeline', hypeDocument.kDirectionForward);
        }        
        
};

// Is triggered when the background image in polite.js was fully loaded.
creative.showAd = function () {
 console.log('show advert');
 document.getElementById('content').className = "show";
};

Any thoughts or tips in guiding me in the right direction as I am pulling my hair out… :wink:

Sorry for the delay in getting back to you; could you post or send us a zip of your .hype document and let us know any post-export steps that you’re running?

The one thing that looks suspicious from the code above is that you’re setting a className instead of appending a class name. If this is on a Hype element, it could be overwriting some information Hype uses and causing issues.