I am trying to use SweetAlert2 as a "popup box" once the page finishes loading. Underneath the "popup box" overlay is normal content.
- The "popup box" will have 2 links that the visitor can click on.(clicking outside the box will not close the popup)
- Upon clicking on any one of the link, it will open a respective new tab
- If it detects visitor clicked on both links, it will unlock and redirect itself to another page.
How can I achieve this?
Reference:
How to add event listener for html buttons in sweetalert dialog box in jquery
`http://codepen.io/html5andblog/pen/jPzPWj` (this is good but it doesn't onload and redirect)