FREE CODE Friday, 10.20.2017, 0:36 AM
Main | Registration | Login Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
۞Forum Statistics۞
NEW TOPPIV
HOT TOPPIC
TOP MEMBERS
NEW MEMBERS
  • check code here Have(0) reviews faxuhi
  • Keywords meta Tags Have(0) reviews faxuhi
  • text box Have(0) reviews faxuhi
  • Page description Have(0) reviews faxuhi
  • marquee Have(0) reviews faxuhi
  • print your page Have(0) reviews faxuhi
  • choose your country Have(0) reviews faxuhi
  • check all - unchek all Have(0) reviews faxuhi
  • shadow text Have(0) reviews faxuhi
  • Beautiful text two Have(0) reviews faxuhi
  • Nice menu with java script <p1> Have(2) reviews faxuhi
  • Mouse Clock Have(1) reviews faxuhi
  • HTML table placeholder Have(0) reviews faxuhi
  • Html graphic bullets Have(0) reviews faxuhi
  • Different times of the world by the users choice from a list Have(0) reviews faxuhi
  • Mouseover Alert HTML Script Have(0) reviews faxuhi
  • Redirect to another page and link automatically to other pg Have(0) reviews faxuhi
  • Combo box link box to browse your website easily Have(0) reviews faxuhi
  • Message to user by clicking a button Have(0) reviews faxuhi
  • Background changing color effect Have(0) reviews faxuhi
  • faxuhi[189]Bài
  • mcsnagger0022[0]Bài
  • thinknoodles[0]Bài
  • karaganis888[0]Bài
  • faxuhi [189]Bài
  • mcsnagger0022 [0]Bài
  • thinknoodles [0]Bài
  • karaganis888 [0]Bài
  • Page 1 of 11
    Forum » Web Javascript » Snow on Page2 » Snow on Page2
    Snow on Page2
    faxuhiDate: Monday, 07.25.2011, 3:39 PM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    Code
    <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style>.drop {
      FONT-SIZE: 40px; FILTER: flipV(), flipH(); WIDTH: 3px; COLOR: blue; POSITION: absolute
    }
    </style>
    <script language="javascript">
    snow = true;    // false-rain;   true-snow
    snowsym = " * "  //These are the symbols for each
    rainsym = " ' "  //You can put images here.
    howmany = 20     //How many drops/snowflakes?
    if(snow){sym = snowsym; speed=1; angle=10; drops=howmany}
    else{sym = rainsym; speed=50; drops=howmany; angle=6}
    movex = -speed/angle; movey = speed; count = 0;
    function moverain(){
    for(move = 0; move < drops; move++){
    xx[move]+=movex;  yy[move]+=mv[move];
    hmm = Math.round(Math.random()*1);
    if(xx[move] < 0){xx[move] = maxx+10;}
    if(yy[move] > maxy){yy[move] = 10;}
    drop[move].left = xx[move]
    drop[move].top = yy[move]+document.body.scrollTop;
    }setTimeout('moverain()','1')}
    </script>
    <script language="javascript">
    if (document.all){
    drop = new Array(); xx = new Array(); yy = new Array(); mv = new Array()
    ly = "document.all[\'"; st = "\'].style"
    for(make = 0; make < drops; make++){
    document.write('<div id="drop'+make+'" class=drop>'+sym+'</div>');
    drop[make] = eval(ly+'drop'+make+st);
    maxx = document.body.clientWidth-40
    maxy = document.body.clientHeight-40
    xx[make] = Math.random()*maxx;
    yy[make] = -100-Math.random()*maxy;
    drop[make].left = xx[make]
    drop[make].top = yy[make]
    mv[make] = (Math.random()*5)+speed/4;
    drop[make].fontSize = (Math.random()*10)+20;
    if(snow){col = 'white'}else{col = 'blue'}
    drop[make].color = col;
    }
    window.onload=moverain
    }
    </script>

    </html>
    </head>
     
    Forum » Web Javascript » Snow on Page2 » Snow on Page2
    Page 1 of 11
    Search:

    Copyright MyCorp © 2017 Website builderuCoz