Copy link to clipboard
Copied
I'm working on banner for Orange Ads. I need to add a "close button" and a "auto-close" at the end of banner.
The code i tried to use doesn't work :
if(!this.Fermer_click_cbk) {
function Fermer_click(evt) {
// Début de votre code personnalisé
console.log("Button clicked");
OA.close('bt'); <--- This part was added by me based on Orange ads specs
// Fin de votre code personnalisé
}
$("#dom_overlay_container").on("click", "#Fermer", Fermer_click.bind(this));
this.Fermer_click_cbk = true;
}
I also need to add "OA.close('bt');" on the last of my timeline.
Thanks for your help
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now