FREE CODE Friday, 10.20.2017, 0:42 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 » HTML Codes » Space in my page » Space in my page
    Space in my page
    faxuhiDate: Monday, 07.25.2011, 10:47 PM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    Code
    <!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydat-->

    <!--<html>-->
    <!--<head>-->
    <!--</head>-->
    <BODY BGCOLOR="#000000" onLoad="fly()">
    <!--<body>-->
    <SCRIPT LANGUAGE="JavaScript">
    SmallStars = 30;  
    LargeStars = 10;
    SmallYpos = new Array();
    SmallXpos = new Array();
    LargeYpos = new Array();
    LargeXpos = new Array();
    Smallspeed= new Array();
    Largespeed= new Array();
    ns=(document.layers)?1:0;
    if (ns) {
    for (i = 0; i < SmallStars; i++) {
    document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,1,1'></LAYER>");
    }
    for (i = 0; i < LargeStars; i++) {
    document.write("<LAYER NAME='ln"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFFF' CLIP='0,0,2,2'></LAYER>");
        }
    }
    else {
    document.write('<div style="position:absolute;top:0px;left:0px">');
    document.write('<div style="position:relative">');
    for (i = 0; i < SmallStars; i++) {
    document.write('<div id="si" style="position:absolute;top:0;left:0;width:1px;height:1px;background:#fffff0;font-size:1px"></div>');
    }
    document.write('</div>');
    document.write('</div>');
    document.write('<div style="position:absolute;top:0px;left:0px">');
    document.write('<div style="position:relative">');
    for (i = 0; i < LargeStars; i++) {
    document.write('<div id="li" style="position:absolute;top:0;left:0;width:2px;height:2px;background:#ffffff;font-size:2px"></div>');
    }
    document.write('</div>');
    document.write('</div>');
    }
    WinHeight = (document.layers)?window.innerHeight:window.document.body.clientHeight;
    WinWidth = (document.layers)?window.innerWidth:window.document.body.clientWidth;
    for (i = 0; i < SmallStars; i++) {
    SmallYpos[i] = Math.round(Math.random() * WinHeight);
    SmallXpos[i] = Math.round(Math.random() * WinWidth);
    Smallspeed[i]= Math.random() * 5 + 1;
    }
    for (i = 0; i < LargeStars; i++) {
    LargeYpos[i] = Math.round(Math.random() * WinHeight);
    LargeXpos[i] = Math.round(Math.random() * WinWidth);
    Largespeed[i] = Math.random() * 10 + 5;
    }
    function fly() {
    var WinHeight = (document.layers)?window.innerHeight:window.document.body.clientHeight;
    var WinWidth = (document.layers)?window.innerWidth:window.document.body.clientWidth;
    var hscrll = (document.layers)?window.pageYOffset:document.body.scrollTop;
    var wscrll = (document.layers)?window.pageXOffset:document.body.scrollLeft;
    for (i = 0; i < LargeStars; i++) {
    LargeXpos[i] -= Largespeed[i];
    if (LargeXpos[i] < -10) {
    LargeXpos[i] = WinWidth;
    LargeYpos[i] = Math.round(Math.random() * WinHeight);
    Largespeed[i] = Math.random() * 10 + 5;
    }
    if (ns) {
    document.layers['ln'+i].left = LargeXpos[i];
    document.layers['ln'+i].top = LargeYpos[i] + hscrll;
    }
    else {
    li[i].style.pixelLeft = LargeXpos[i];
    li[i].style.pixelTop = LargeYpos[i] + hscrll;
        }
    }
    for (i = 0; i < SmallStars; i++) {
    SmallXpos[i] -= Smallspeed[i];
    if (SmallXpos[i] < -10) {
    SmallXpos[i] = WinWidth;
    SmallYpos[i] = Math.round(Math.random()*WinHeight);
    Smallspeed[i] = Math.random() * 5 + 1;
    }
    if (ns) {
    document.layers['sn'+i].left = SmallXpos[i];
    document.layers['sn'+i].top = SmallYpos[i]+hscrll;
    }
    else {
    si[i].style.pixelLeft = SmallXpos[i];
    si[i].style.pixelTop = SmallYpos[i]+hscrll;
        }  
    }
    setTimeout('fly()', 10);
    }

    </script>
    <!--</body>-->
    <!--</html>-->

     
    Forum » HTML Codes » Space in my page » Space in my page
    Page 1 of 11
    Search:

    Copyright MyCorp © 2017 Website builderuCoz