Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="thedivtimer">
- <div id="timer1">
- <div style="font-size:large;font-size:21px;">
- <b>Please Wait <span> 5</span> Seconds</b></div>
- </div><!--timer1-->
- <a class="primo" href="#" id="time1" rel="nofollow" style="display:none;">OK!</a>
- </div><!--thedivtimer-->
- <script>
- jQuery(document).ready(function() {
- var sec = 5
- var timer = setInterval(function() {
- $("#timer1 span").text(sec--);
- if (sec == 0) {
- $("#time1").delay(500).fadeIn(500);
- $("#timer1").hide(500) .fadeOut(fast);}
- },1000);
- });
- </script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement