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
Asking user's name and say welcome

Asking user's name and say welcome


Code:-
<!-- this script got from www.freejavascripts.page.tl -->

<!-- Start of Hello Visitor JavaScript-->
<!--   DESCRIPTION:  This will ask the user for his/her name, then tell them WELCOME.

    INSTRUCTIONS:  Place this script below the BODY tag, before you start the content of your page. 

    FUNCTIONALITY: Works in both Netscape and IE.
-->
<SCRIPT LANGUAGE="JavaScript">
<!--
{
var name = prompt ('Your name','');
var color = prompt ('Color name','');
document.write("<CENTER><FONT FACE=ARIAdL,VERDANA COLOR="+color+" SIZE=5>Welcome To www.freejavascripts.page.tl  "+name+".</FONT><HR NOSHADE WIDTH=450></CENTER><P>")
}
//-->
</SCRIPT>
<!-- End of Hello Visitor JavaScript -->



<font face="Tahoma"><a target="_blank" href="http://www.freejavascripts.page.tl/"><span style="font-size: 8pt; text-decoration: none">Free JavaScript</span></a></font>




Preview:- Free JavaScript
Time  
   
Advertisement  
   
Partner's Advertisements  
   
Today, there have been 1 visitors (32 hits) on this page!
=> Do you also want a homepage for free? Then click here! <=