Click to See Complete Forum and Search --> : Someone can to do this script compatible with mozilla?


Sh4d0wn
04-02-2004, 06:46 AM
I need thats this script run in IE and Mozilla / Netscape / FireFox ...


<SCRIPT LANGUAGE="JavaScript">
dispTime = 0
function clock() {
dispTime++;
if (!document.layers && !document.all) return;
if (document.layers) {
document.layers.pendule.document.write(dispTime);
document.layers.pendule.document.close();
} else if (document.all) {
pendule.innerHTML = dispTime+" seg";
setTimeout("clock()", 1000);
}
}

// End -->
</script>


Thanks ...