Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #11547

Cool thing

Newsgroups comp.programming
Date 2020-12-03 07:28 -0800
Message-ID <9fb06205-fd59-4e48-b50d-a8dc8cd255a5n@googlegroups.com> (permalink)
Subject Cool thing
From Khrictjan Robam <he12457@hotmail.com>

Show all headers | View raw


<html>
<head>
<style>
body {
   height: 100%;
}
#a1 {
   width: 100%;
   height: 100%;
   font-size: 60px;
   font-weight: bold; 
   overflow-y:hidden;
   line-height:50px;
   padding-top:0px;
}
</style>
</head>
<body>

<div id="a1">
</div>
<script>
var next=0;
var next01="";
function a2() {
    setInterval(function(){
       var a=Math.round(Math.random()*255*3);
       /*var a01=0;
       var a02=0;
       var a03=0; 
       if(a>=310) {
          a01=255;
          a02=255;
          a03=a-255;       
       } else if(a>255) {
          a01=255;
          a02=a-255;
          a03=0;       
       } else {
          a01=a;
          a02=0;
          a03=0;       
       }*/
       var aa=document.getElementById("a1").innerHTML;
       if(aa.length>2100000) aa="";
       if(next<12) {
/*         next01="<font style='height: 60px; color: rgb("+a01+","+a02+","+a03+");'>"+a+"</font> "+next01;
*/
         next01=a+" "+next01;

         next++;
       }
       if(next==12) {
           document.getElementById("a1").innerHTML=next01+"<p></p>"+aa;
           next=0;
           next01="";
       }

    }, 45);
}

a2();
</script>
</body>
</html>


Khrictjan Robam

Telephone number: 372 57865442
E-mail: he12457 hotmail c o m 

Back to comp.programming | Previous | Next | Find similar | Unroll thread


Thread

Cool thing Khrictjan Robam <he12457@hotmail.com> - 2020-12-03 07:28 -0800

csiph-web