Minggu, 16 Mei 2010
31 - Menanyakan nama pengguna dan mengatakan menyambut
<!-- this script got from www.javascriptfreecode.com-Coded by: Krishna Eydat -->
<!-- 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">
//Modified by CoffeeCup Software
//This code is Copyright (c) 1998 CoffeeCup Software
//All rights reserved. License is granted to a single user to
//reuse this code on a personal or business Web Site.
<!--
{
var name = prompt ('Your name','');
var color = prompt ('Color name','');
document.write("<CENTER><FONT FACE=ARIAdL,VERDANA COLOR="+color+" SIZE=5>Welcome To Web Designer "+name+".</FONT><HR NOSHADE WIDTH=450></CENTER><P>")
}
//-->
</SCRIPT>
<!-- End of Hello Visitor JavaScript -->
<font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar