Hayla

HMT 002

Jun 6th, 2020
170
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. $(function () {
  3. $("#condaianllkhir").click(function () {
  4. var seconds = 5;
  5. $("#CountDown").show();
  6. $("#condaianllkhir").hide();
  7. $("#DrRO").html(seconds);
  8. setInterval(function () {
  9. seconds--;
  10. $("#DrRO").html(seconds);
  11. if (seconds == 0) {
  12. $("#CountDown").hide();
  13. window.location = "http://www.Website.com/";
  14. }
  15. }, 1000);
  16. });
  17. });
  18. </script>
  19. <center>
  20. <br/>
  21. <br/>
  22. <input type="button" id="condaianllkhir" value="إضغط هنا للتحميل" />
  23. <br />
  24. <br />
  25. <div id="CountDown" style="display: none">
  26. <b>إنتظر قليلا قبل التوجه إلى صفحة التحميل <br/> <br/> <img src="https://1.bp.blogspot.com/-u4Rs1Dgnxsw/V-9hNajkfRI/AAAAAAAAI2I/ckCdj81EK9Ah5pwTUwEua7jYa4xznsEQgCLcB/s1600/circular_loader_282_red.gif" /> <br/><br/> <span id="DrRO"></span>&nbsp;seconds.
  27. </div>
  28. </center>
RAW Paste Data Copied