No, onload only executes the function to display the clock when the page loads, but you could call the function elsewhere in the page.
Try the script weblord posted :
DynamicDrive tells you to use the following code to make it work:
Code:
<body onLoad="goforit()">
It also works if you add the following code to your page, but is only displayed after the function is executed, so try to place this near the top of your html, but after the body tag:
Code:
<script>goforit();</script>
Hope this helps,
Richard