Skip to main content
Participant
August 3, 2023
Question

Multiple buttons on HTML5 Banners

  • August 3, 2023
  • 2 replies
  • 123 views

Hi

I am having to pick up some banner designs in Animate, and please forgive my ignorance, but need to create 2 buttons going to 2 different URLs on the same banner. 

I can get two areas working as buttons but both go to the same URL or at least one overides the other. 
Can someone please help on how to stop this, or help explain for to create the two buttons?

    This topic has been closed for replies.

    2 replies

    Community Expert
    August 5, 2023

    Gonna need to see your code...

    kglad
    Community Expert
    Community Expert
    August 3, 2023

    just use two different listener functions or an if-statement checking the event's currentTarget in one listener function.

     

    if your don't understand the above, show the code you're using.