Skip to main content
Inspiring
February 16, 2023
Question

Adding a pop up to a HTML5 canvas

  • February 16, 2023
  • 1 reply
  • 1422 views

Hello.

 

Looking for some advice please?

 

I need to create a web banner which has a line of copy. When the viewer clicks on the copy, a pop up/overlay of copy will appear with a message. When the viewer has read it, they will click a cross to close the overlay/pop up. I also need to add a click tag to the file.

 

Is the above possible? Any advice/tutorials would be great appreciated.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 16, 2023

this.yourcopy.addEventListener("click",f);

function f(){

window.open("https://adobe.com","_top","left=100,top=100,width=320,height=320");

}

Inspiring
February 16, 2023

Thank you for replying. I think I need more hand-holding...

kglad
Community Expert
Community Expert
February 16, 2023

what don't you understand?