Several links which appears onclick

How can I make a contact-link and an adress link appear on an onclick?

Now I have made this code which appears on an onclick:

  function myFunc(){
alert("You can either contact me or hire me through the links below");
  }

  document.getElementsByClassName("button")[0].onclick=function(){
    myFunc();
  }

This makes an alert appear. But how can I make this alert appear “cool” and make it display two links next to each other? One that leads to the contact-form? And another that displays an adress?

You can’t put clickable links in the alert box. You should create a custom alert box using something like Custom Alert/Confirm/Prompt Popup Box JavaScript Library - attention.js | CSS Script

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.