There’s limits to the help I’m prepared to give you on this. Pop-up blockers, after all, exist for a reason. :wally
No problem at all. The numbers can be images, and JavaScript is quite good at swapping images around. No DHTML required (and it would be pretty darned browser independent, too!). Ditto if the clock consists of text in a form. Or the clock could be in a different frame, and the JavaScript just reloads a blank page each minute (or second) and writes the current time into it.
There are lots of ways to make a JavaScript clock without DHTML.
No kidding. Those two examples are nearly functionally identical. One uses setTimeout and one uses setInterval. That’s about the biggest non-cosmetic difference.
I think what some people here are getting at is that when you have client-side scripts (e.g. javascript) altering properties (e.g. the “src” property) of HTML elements (e.g. the “img” element), that’s called DHTML.