Copy link to clipboard
Copied
I developed one Ad in HTML canvas. I used below code for clicking to open new window.
this.mainButton.addEventListener("click", fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage() {
window.open(window.clickTag, "new");
}
when i do left and right click, it open new window but i want, on right click, it should open only context menu.
Please guide me.
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now