Just enter the birthday you wish to track and JavaScript will display the person's age, down to the second. Displays your age along with the day you were born.
We have tested the code in IE7.0, Firefox2.0.0.1, Opera9.10, Netscape8.1.2 and AOL Explorer1.5. This script worked well in IE7.0 and AOL Explorer1.5. In all other paltforms tested, it gave eroneous readings. In other words it did not work.
Depending on your knowledge of HTML and javascripts, this is an easy three (3) part copy and paste code that goes in both the <HEAD> and <BODY> sections (no reconfigurations) of your document. It also makes use of an onload event handler inserted directly into the <BODY> tag.
If you need a little refresher on howto add the onLoad event handler directly into the <BODY> tag, see the below examples:
Default <BODY> Tag ~ No onLoad event handler
<body bgcolor="#000000" text="#ba55dc" link="#fff8dc" alink="#fff8dc" vlink="#fff8dc">
Reconfigured <BODY> Tag ~ onLoad Event Handler Inserted
<body onLoad="start()" bgcolor="#000000" text="#ba55dc" link="#fff8dc" alink="#fff8dc" vlink="#fff8dc">
Little Extra Not Included In The Script: Since the <HEAD> section of this code is quite large (9 KB), you may want to consider making it into an external .js file so the page will not be so bloated with code. If you are a little unclear or need a little refresher on howto, it is quite simple. The <HEAD> section of code starts and ends with opening and closing JavaScript tags, See below:
If you would like to see an example of this effect with the use of an external.js file used in the <HEAD> section, grab the below link and you are there.
[ Effect With External.JS File ]
We hope our tutorial was easy to follow and we covered everything in detail. If you would like to add this effect into your pages, grab the respective below link and you are there. If you have any problems with this or anything else, feel free to consult our [ FAQ ] and if you can't find the answer there, [ contact us ].
[ Get Code Here ]
[ Rate This Page ]