Site Notice

hello, world

Do not press the button

From Project-EPB Commons
Revision as of 17:09, 21 November 2019 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)

<html> <button onclick="showNew()">点我</button> <p id="joke" style="display:none">呵呵,你以为我会让你看到吗?</p> <p id="new" style="display:none">好好好,给你点面子好了!</p> <p id="final" style="display:none">切,你以为我会放过你吗?准备接受最后的审判吧</p> <style>

 button {
   padding: 0.5em 0.7em;
   background: #3380ff;
   color: white;
   font-weight: bold;
   border: 1px solid #3380ff;
 }

</style> <script>

 function showNew() {
   $('#joke').show(50);
   setTimeout(function () {
     $('#new').show(150);
     $('#joke').hide(150);
     setTimeout(function () {
       $('#joke').remove();
       $('#final').show(150);
       setTimeout(function(){
         $('#final').html('死吧!!!');
         setInterval(function(){
           $('#final').html(function(){
             var $this = $(this);
             var before = $this.text();
             var final = before + before;
             return final;
           });
         },100);
       },3000);
     }, 3000);
   }, 3000);
 }

</script> </html>