Free Java Scripts
 
  Home
  Contact Us
  Make Your Website as User's Homepage
  Guestbook
  A message box when page opens
  Don't let the user use right click on mouse
  Make your scrollbar colorful
  Search box ( Search engine ) for your page
  Fireworks with different colors
  Stars moving in background
  Magic title for weblogs or any pages on the internet
  Snowing on the page
  Raining on texts
  Close the browser with a button
  Text alert for enter and exit
  Moving text status
  Set background color (User control)
  Nice menu with java script
  Clock
  Go to top of page
  Text following mouse
  Shake internet explorer window
  Change the bgcolor
  Back and forward button
  Print button for page
  Calculator script
  Text dances in status bar
  Visitor and counter
  Clock the visitor time visiting the page
  Asking user's name and say welcome
  Clock in website
  Random background color changer
  Text Effect-1
  Text Effect-2
  Today's Date in website
  Save button
  Two lines following mouse
  Date and time following mouse
  Add website to favorites
Text dances in status bar

Text dances in status bar


Code:-
<!--   DESCRIPTION:  This will make your text bounce in the
status bar of the browser.

    INSTRUCTIONS:  Place this script in the HEAD tags of
your webpage.  Then place the text you want to be bounced in
the area that says, "YOUR MESSAGE HERE". 

    FUNCTIONALITY: Works in both Netscape & IE.
-->

<SCRIPT LANGUAGE="JavaScript">
//Modified by CoffeeCup Software
//This code is Copyright (c) 1997 CoffeeCup Software
//all rights reserved. License is granted to a single user to
//reuse this code on a personal or business Web Site.



var yourtext = "* www.freejavascripts.page.tl! *";
var wedge1="                        ";
var wedge2="                        ";
var message1=wedge1+yourtext+wedge2;
var dir = "lside";
var speed = 50;

function bouncey() {

    if (dir == "lside") {
        message2=message1.substring(2,message1.length)+"  ";
        window.status=message2;
        setTimeout("bouncey();",speed);
        message1=message2;

        if (message1.substring(0,1) == "*") {
            dir="rside";
        }
    }

    else {
        message2="  "+message1.substring(0,message1.length-2);
        window.status=message2;
        setTimeout("bouncey();",speed);
        message1=message2;
        if (message1.substring(message1.length-1,message1.length) == "*") {
            dir="lside";
        }
    }
}

// -- End Hiding Here -->
</SCRIPT>

<body onLoad="bouncey()">




Preview:-
Time  
   
Partner's Advertisements  
   
Today, there have been 10 visitors (10 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free