How To Put A Digital Clock On Your Website Web Pages With Javascript Sample

Mobile
feeds
Welcome Login | Register

How To Put A Digital Clock On Your Website Web Pages With Javascript Sample
Reply Your Comments:
Click this button if you are interested in replying to this topic and leave your comments
Sent To Friend
CLick this button if you want to send this page to a friend.
Subsribe To Rss Feeds
Subscribe to RSS
CLick this button if you want to subscribe to this RSS Feed. You can use your browsers feeds burners if you have mozilla or internet explorer 7 or higher and keep up with updates.
  Forums Index
      » Javascipt Forums
        » » How To Put A Digital Clock On Your Website Web Pages With Javascript Sample
How To Put A Digital Clock On Your Website Web Pages With Javascript Sample
Post Description: how to put a digital clock on your website web pages with javascript sample Javascipt
Post Tags:
This Post Has Been Viewed 5390 Times Since Tue Dec 19, 2006 9:50 pm Author webmaster with 6 replies
How To Put A Digital Clock On Your Website Web Pages With Javascript Sample
Advertise On This Page




have you seen those sites that have a clock with the sencods changing, wish you could put something like that?

Well, you are in luck, today i will show you how to put a digital clock on your website using javascript, you will learn how to put it on your web pages, just copy and pase the sample code script below.

the first step is to open your text editor, you can use notepad which come with windows and copy and paste the following code into a new document:

The Current Time is:


<HTML> <TITLE>How to make a digital click with javascript tutorial guide</TITLE> <HEAD> </HEAD> <style type="text/css"> <!-- .style2 {color: #0066FF} .style3 { color: #009933; font-weight: bold; } .style5 {color: #0066FF; font-weight: bold; } --> </style> <BODY> <h1 align="center"><strong>How to make a digital click with javascript tutorial guide </strong> </h1> <TABLE BORDER=0 align="center" cellpadding="5" cellspacing="1" BGCOLOR=#999999> <TR> <TD bgcolor="#FFFFFF"> <span class="style3">The Current Time is: </span> <FORM NAME="clock_form"> <INPUT NAME="clock" TYPE=TEXT SIZE=65> </FORM> <SCRIPT LANGUAGE="JavaScript"> <!-- Hide from non JavaScript browsers function clockTick() { currentTime = new Date(); document.clock_form.clock.value = " "+currentTime; document.clock_form.clock.blur(); setTimeout("clockTick()", 1000); } clockTick(); // End of clock --> </SCRIPT></TD> </TR> </TABLE> </p> <br /> <span class="style3">NOTE</span>: you must have javascript enabled in your browser for this to work, if you want to know how to enable javascript in your browser, <a href="http://www.wallpaperama.com/forums/show-me-how-to-enable-javascript-in-firefox-browser-t43.html">CLICK HERE </a><br /><br /> <div align="center">Turotial by <a href="http://www.wallpaperama.com">Wallpaperama.com</a></div> <hr size="2" noshade> <p>This Script is provided by <span class="style5">Wallpaperama.com</span> - Support us by telling your friends about wallpaperama and help contribut to the open source by adding your knowledge of PHP, Linux, Mysql and more to others, just like this script.</p> <p>Thank You</p> <p class="style3">Wallpaperama Team</p> <p><a href="http://www.wallpaperama.com/forums">&lt;&lt; Go Back</a> </p> <p align="center">PHP Hosting by <a href="http://www.webune.com">Webune.com</a> </p> <p> </BODY> </HTML>


now save the file as javascript-clock.html and upload to your website.

if can't upload to your website or you don't have a website, you can start by visiting our friends at www.webune.com and start your own website. this post is sponsed by www.webune.com

webune hosting

IF you don't have a website, our friends at www.webune.com have provided us with server space to show you how this javascript would work.

CLICK HERE TO SEE DEMO by Webune.com

example clock




Leave Your Comments

Your Name
Your Email Address (Will Not Be Published)
Notify Me When Someone Replies to this Page
(An email will be sent to you when someone replies to your comments)
Your Comments
Include A Picture with your comments
Share
| More
Share this page by putting this URL in your comments to other websites like myspace, Facebook, Twitter friendster, Hi5, Groups, Boards, Forum or others. Just Copy and Paste this Code
URL:
To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
BBCODE:
Subscribe Feeds
Webmasters - Exchange Links With Us. Add related websites to this topic
Add Link:
Links Related to : How To Put A Digital Clock On Your Website Web Pages With Javascript Sample

Comments and replies About How To Put A Digital Clock On Your Website Web Pages With Javascript Sample
:: 1 :: Reply #27901 Reply By BANDER On Fri Nov 16, 2007 5:14 am
BANDER:


thank you very much. i like this too
:: 2 :: Reply #27902 Reply By BANDER On Fri Nov 16, 2007 5:26 am
BANDER:
20071116-27902-group-1600x1200.jpg
thank you very much.
see you on friday.
:: 3 :: Reply #67066 Reply By ivan On Mon Aug 18, 2008 9:58 am
ivan:
how did u put this cmment section on you website? can you put it up please
:: 4 :: Reply #79122 Reply By Don On Tue Nov 04, 2008 1:03 pm
Don:
i'm a virtual newb so it may not be ok but it's understandable if my
html coding isn't compliant with w3 standards. i want to be a
smart-ass and ask "what's your excuse?" but, seriously, don't you think
it would be far better, and make a positive statement about who you are,
if your code was standards compliant?

my $0.02 for what it's worth.
--
don crowder
:: 5 :: Reply #90230 Reply By Khurram On Fri Jan 16, 2009 5:12 pm
Khurram:
16-638-khurram-shahab-ranaa02.gif
hi, its very nice, i like it, can u help me more abt it?
i like to discover new things abt computer technologies.
thankx
:: 6 :: Reply #123794 Reply By znn On Sat Dec 19, 2009 5:50 pm
znn:
nscmyhsh,hg,y ysjhh s