How to Add Redirect with One Click to Open Two Links (URLs)


 

------------------1. CSS-------------[Add it into Theme of Edit HTML]

<style>

  .D-btn span{color: #fff;} .D-btn { display: block; color: inherit; width: 200px; font-size: 20px;background:green; text-align: center; text-decoration: none; box-sizing: border-box; padding: 10px 0; margin: 40px auto; transition: all .3s; } .D-btn:hover { background: #222222; color: #e8d506; }

</style>


------------------------2. HTML--------------[Add it into Post of HTML]


<a class="D-btn" href="YOUR GOOGLE DRIVE URL" onclick="Atredirect()" target="_blank"><span>WRITE SOMETHING YOU WANT HERE</span></a>


 ------------------JS-------------[Add it under Post: (2. HTML) above]

 <script>

    function Atredirect() {

    setTimeout("location.href='YOUR ADS URL'",1000);

}

  </script>


DOWNLOAD CODE HERE