[Support request] Using on-click event links in sitewide nav

Home Forums Support [Support request] Using on-click event links in sitewide nav

Home Forums Support Using on-click event links in sitewide nav

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2244759
    Gary

    Hi,

    I’m looking to make some links in my header and footer onclick events rather than traditional links. Is there a way to do this? The links will be a mixture of text and button links.

    Thanks in advance!

    #2244826
    David
    Staff
    Customer Support

    Hi there,

    i would write an eventListener for the onclick event. Theres a good article on them here:

    https://flaviocopes.com/how-to-add-event-listener-multiple-elements-javascript/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.