• Resolved bobby196

    (@bobby196)


    Hi there,

    I am trying to simply add a custom link to a button, I am not really sure what to put into the “onclick event” section, I have made some research but it was unsuccessful.

    Can you help please?

    thanks
    bobby

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @bobby196

    In javascript if you want to redirect the user to a different page clicking on a button, for example, to the URL: https://cff.dwbooster.com/, you should enter the following piece of code as its “onclick” event:

    
    document.location.href="https://cff.dwbooster.com/";
    

    and that’s all.
    Beset regards.

    Thread Starter bobby196

    (@bobby196)

    HI @codepeople

    thank you so much for the quick reply!

    best,
    bobby

    • This reply was modified 6 years ago by bobby196.
    Plugin Author codepeople

    (@codepeople)

    Hello @bobby196

    It has been a pleasure.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a custom link to a button’ is closed to new replies.