Regen


Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Hallo habe mal ne wichtige Frage....

    will auf meiner HP Bilder vom Himmel regnen lassen hat jemand ne Ahnung wie der HTML Text aussieht ich arbeite nämlich nicht mit nem HP Programm sondern erstelle die TExte selbst im HTML Editor und das is leider nich so einfach....

    also wäre echt super.....

    mfg
  • Achtung!!! Es Regnet auf dein H-page...

    Hier verleicht brauchst du das ... :grrr:
    versuche weiter zu suchen das ist schwer zu finden aber ergend wo hab ich es gesehen ne...
    :zposter2:

    HTML-Quellcode

    1. <style>
    2. .drop { position: absolute; width: 3; filter: flipV(), flipH(); font-size: 40; color: blue }
    3. </style>
    4. <script language="javascript">
    5. //Rain/Snow effect- By Craig Blanchette Craiga.topcities.com
    6. snow = false; // false-rain; true-snow
    7. snowsym = " * " //These are the symbols for each
    8. rainsym = " ' " //You can put images here.
    9. howmany = 10 //How many drops/snowflakes?
    10. /**************Do not need to change anything below***********/
    11. if(snow){sym = snowsym; speed=1; angle=10; drops=howmany}
    12. else{sym = rainsym; speed=50; drops=howmany; angle=6}
    13. movex = -speed/angle; movey = speed; count = 0;
    14. function moverain(){
    15. for(move = 0; move < drops; move++){
    16. xx[move]+=movex; yy[move]+=mv[move];
    17. hmm = Math.round(Math.random()*1);
    18. if(xx[move] < 0){xx[move] = maxx+10;}
    19. if(yy[move] > maxy){yy[move] = 10;}
    20. drop[move].left = xx[move]
    21. drop[move].top = yy[move]+document.body.scrollTop;
    22. }setTimeout('moverain()','1')}
    23. </script>
    24. <script language="javascript">
    25. if (document.all){
    26. drop = new Array(); xx = new Array(); yy = new Array(); mv = new Array()
    27. ly = "document.all[\''; st = '\'].style"
    28. for(make = 0; make < drops; make++){
    29. document.write('<div id="drop'+make+'" class=drop>'+sym+'</div>');
    30. drop[make] = eval(ly+'drop'+make+st);
    31. maxx = document.body.clientWidth-40
    32. maxy = document.body.clientHeight-40
    33. xx[make] = Math.random()*maxx;
    34. yy[make] = -100-Math.random()*maxy;
    35. drop[make].left = xx[make]
    36. drop[make].top = yy[make]
    37. mv[make] = (Math.random()*5)+speed/4;
    38. drop[make].fontSize = (Math.random()*10)+20;
    39. if(snow){col = 'white'}else{col = 'blue'}
    40. drop[make].color = col;
    41. }
    42. window.onload=moverain
    43. }
    44. </script>
    Alles anzeigen



    ___________________________
    MfG Seros_gie
    :check: