Thursday, October 4, 2007

Application-Level Synch (Horizontal)

So, recurse the following (vertically) and create OSI synch
('bert)
...g

"html"
"head"
"title"National Collegiate Honors Society (due)--Round 1 Bonus"title"
"script type="text/javascript""
"function GlobalClock()
{
var d = new Date();
var oDivs = document.getElementsByTagName("div");
for(var i=0; i lt oDivs.length; i++)
{
var txt = document.createTextNode(d.getTime());
oDivs[i].appendChild(txt);
}
setInterval(GlobalClock, 1000);
}
"script"
"head"
"body"
"div id="div1""
"button onclick="GlobalClock()""Click Me!"button"
"div"
"div id="div2"""div"
"body"
"html"

No comments: