J
Jon Enroth
I am hoping that the next version of Outlook will have a simple digital clock
in the top toolbar. I use this one on my desktop:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Desktop Clock</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Date Stamp Script</title>
<SCRIPT language=JavaScript>
<!--
var pong;
function makeArray(n){
this.length = n;
for (i=1;i<=n;i++){
this=0;
}
return this;
}
function displayDate() {
var this_month = new makeArray(12);
this_month[0] = "January";
this_month[1] = "February";
this_month[2] = "March";
this_month[3] = "April";
this_month[4] = "May";
this_month[5] = "June";
this_month[6] = "July";
this_month[7] = "August";
this_month[8] = "September";
this_month[9] = "October";
this_month[10] = "November";
this_month[11] = "December";
var today = new Date();
var day = today.getDate();
var month = today.getMonth();
var year = today.getYear();
if (year < 1900){
year += 1900;
}
return(this_month[month]+" "+day+", "+year);
}
// -->
</SCRIPT>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<base target="_parent">
</head>
<body topmargin="0" leftmargin="0" bgcolor="#000000">
<div align="left">
<table border="6" width="217" cellspacing="1" height="76"
bordercolor="#00FFFF">
<tr>
<TD align=center width=200 style="float: left" height="20"
bgcolor="#00FFFF">
<p><font face="Tahoma" size="3" color="#000000"><b> <SCRIPT
language=JavaScript><!--
document.write (displayDate());
//--></SCRIPT>
</b></font></p>
</TD>
</tr>
<tr>
<td width="200" align="center" style="font-family: Tahoma; font-size:
5pt; color: #00FFFF; font-weight: strong" bgcolor="#000000" height="33">
<div id="Clock" align="top" align="center" style="font-family: Times New
Roman; font-size: 24; color: 00FFFF; width: 181; height: 29"><p
align="center"><normal><font face="Tahoma" size="3" color="#00FFFF"><script>
function tick() {
var hours, minutes, seconds, ap;
var intHours, intMinutes, intSeconds;
var today;
today = new Date();
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
if (intHours == 0) {
hours = "12:";
ap = "Midnight";
} else if (intHours < 12) {
hours = intHours+":";
ap = "A.M.";
} else if (intHours == 12) {
hours = "12:";
ap = "Noon";
} else {
intHours = intHours - 12
hours = intHours + ":";
ap = "P.M.";
}
if (intMinutes < 10) {
minutes = "0"+intMinutes+":";
} else {
minutes = intMinutes+":";
}
if (intSeconds < 10) {
seconds = "0"+intSeconds+" ";
} else {
seconds = intSeconds+" ";
}
timeString = hours+minutes+seconds+ap;
Clock.innerHTML = timeString;
window.setTimeout("tick();", 100);
}
window.onload = tick;
</script></font><font face="Tahoma" size="2"
color="#00FFFF"><b> </b></font></p>
</div>
</table>
</div>
</body>
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/com...784199a8a&dg=microsoft.public.outlook.general
in the top toolbar. I use this one on my desktop:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Desktop Clock</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Date Stamp Script</title>
<SCRIPT language=JavaScript>
<!--
var pong;
function makeArray(n){
this.length = n;
for (i=1;i<=n;i++){
this=0;
}
return this;
}
function displayDate() {
var this_month = new makeArray(12);
this_month[0] = "January";
this_month[1] = "February";
this_month[2] = "March";
this_month[3] = "April";
this_month[4] = "May";
this_month[5] = "June";
this_month[6] = "July";
this_month[7] = "August";
this_month[8] = "September";
this_month[9] = "October";
this_month[10] = "November";
this_month[11] = "December";
var today = new Date();
var day = today.getDate();
var month = today.getMonth();
var year = today.getYear();
if (year < 1900){
year += 1900;
}
return(this_month[month]+" "+day+", "+year);
}
// -->
</SCRIPT>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<base target="_parent">
</head>
<body topmargin="0" leftmargin="0" bgcolor="#000000">
<div align="left">
<table border="6" width="217" cellspacing="1" height="76"
bordercolor="#00FFFF">
<tr>
<TD align=center width=200 style="float: left" height="20"
bgcolor="#00FFFF">
<p><font face="Tahoma" size="3" color="#000000"><b> <SCRIPT
language=JavaScript><!--
document.write (displayDate());
//--></SCRIPT>
</b></font></p>
</TD>
</tr>
<tr>
<td width="200" align="center" style="font-family: Tahoma; font-size:
5pt; color: #00FFFF; font-weight: strong" bgcolor="#000000" height="33">
<div id="Clock" align="top" align="center" style="font-family: Times New
Roman; font-size: 24; color: 00FFFF; width: 181; height: 29"><p
align="center"><normal><font face="Tahoma" size="3" color="#00FFFF"><script>
function tick() {
var hours, minutes, seconds, ap;
var intHours, intMinutes, intSeconds;
var today;
today = new Date();
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
if (intHours == 0) {
hours = "12:";
ap = "Midnight";
} else if (intHours < 12) {
hours = intHours+":";
ap = "A.M.";
} else if (intHours == 12) {
hours = "12:";
ap = "Noon";
} else {
intHours = intHours - 12
hours = intHours + ":";
ap = "P.M.";
}
if (intMinutes < 10) {
minutes = "0"+intMinutes+":";
} else {
minutes = intMinutes+":";
}
if (intSeconds < 10) {
seconds = "0"+intSeconds+" ";
} else {
seconds = intSeconds+" ";
}
timeString = hours+minutes+seconds+ap;
Clock.innerHTML = timeString;
window.setTimeout("tick();", 100);
}
window.onload = tick;
</script></font><font face="Tahoma" size="2"
color="#00FFFF"><b> </b></font></p>
</div>
</table>
</div>
</body>
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/com...784199a8a&dg=microsoft.public.outlook.general