I just can't get the scroll to work but something like this.
Code:
<script language="JavaScript">
var T = window.open("",'Window_ID','menubar=no,status=no,location=no,toolbar=no,scrollbars=yes,resizable=no');
T.resizeTo(200,200);
T.moveTo((screen.width - 200)/2,(screen.height - 200)/2);
var timerID = null
var timerRunning = false
function stopclock()
{
if(timerRunning)
clearInterval(timerID)
timerRunning = false
}
function startclock()
{
// Make sure the clock is stopped
stopclock()
timerID = window.setInterval("showtime()",1000)
timerRunning = true
}
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."
//top.Right_Area.document.writeln(timeValue + '<br>');
if (T.closed)
{
clearInterval(timerID);
}
else
{
T.document.writeln(timeValue + '<br>');
//T.scrollBy(0, 30);
T.focus();
}
}
</script>