There is a way that can ask a series of questions and then send you to a mailto or hyperlink.
Here are four separate buttons. Click here for a live example.
HTML Code:
<html>
<body>
<input type="button" onClick='alert("Goodbye."); window.location = "http://www.google.co.uk/"' value="Google">
<input type="button" onClick='alert("Mail me?"); window.location = "mailto:thomas.tillotson@floodge.com"' value="E-Mail">
<input type="button" onClick='if (confirm("Do you want to go to google?")){window.location = "http://www.google.co.uk/"}else{}' value="Ask Google">
<input type="button" onClick='if (confirm("Do you want to email me?")){window.location = "mailto:thomas.tillotson@floodge.com"}else{}' value="Ask Mail">
<input type="button" onClick='number2(); function number2() {if (confirm("Mail me")){alert("thomas.tillotson@floodge.com"); window.location = "mailto:thomas.tillotson@floodge.com"}else{if (confirm("go to google")){alert ("to google with you"); window.location = "http://www.google.co.uk/"}else{if (confirm("repeat choices")){number2()}else{alert ("ok then")}}}}' value="Click Here">
</body>
</html>
Bookmarks