In
the following there is the code.
<script>
// text in the status bar
var txt = "Example of intermittence
JavaScript !!";
// interval of intermittence
var speed = "600";
var control = 1;
function flash(){
if (control == 1){window.status=txt;control=0;}
else{window.status=""; control=1;}
setTimeout("flash();",speed);}
</script>
Warning
the red instructions don't must be change!
The code must be insert between the tag <HEAD> e </HEAD>,
<HTML>
<HEAD>
<TITLE>Example JavaScript</TITLE>
<SCRIPT>
...
...
...
</SCRIPT>
</HEAD>
insert
the following instruction between the TAG <BODY>:
<BODY
onload="flash();">
|