programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
   Main Menu
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

   Amazon
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

   Links
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
Code examples are sponsored by Webmastersearn : make money with your website

 

Status bar clock

Status bar clock

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="JavaScript"></script>
// Navigation - Stop
// Netscapes Clock - Start
// this code was taken from Netscapes JavaScript documentation at
// www.netscape.com on Jan.25.96
var timerID = null;
var timerRunning = false;
function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}
function showtime () {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = "" + ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
timeValue += (hours >= 12) ? " P.M." : " A.M."
window.status = timeValue;
// you could replace the above with this
// and have a clock on the status bar:
//
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock () {
// Make sure the clock is stopped
stopclock();
showtime();
}
</script>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body onLoad="startclock()">

</body>
</html>



Clickbank mall, make money
sell software, make money
Hosted magazine site : make money with no website



 


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Free disk space : Windows 95 and 98(C)
hexadecimal to decimal conversion function(Javascript)
getservbyport function returns the name of the service that uses a specified port(PHP)
display the time(PHP)
bytes to whatever(VB)
text background colour(CSS)
Display meta tags(PHP)
Create a share(VB)




Copyright © 2004 by programmershelp.co.uk