ToFILE
cnt=0;
STT=false;
function Btn(){
if(STT){
clearTimeout(TI);
location.href=document.FF.Lnm[cnt].value
}else{
document.FF.Bt.value=' stop ';
Rrt()
}
}
function Rrt(){
STT=true;
if(cnt< )cnt++;
else{cnt=0}
document.FF.Lnm[cnt].checked=true;
TI=setTimeout('Rrt()', )
}
ToHEAD
<SCRIPT SRC="sta.js" LANGUAGE="JavaScript" TYPE="text/javascript"></SCRIPT>
ToBODY
<FORM ACTION="#" NAME="FF">
<INPUT TYPE="radio" NAME="Lnm" VALUE=" " CHECKED> <BR>
<INPUT TYPE="radio" NAME="Lnm" VALUE=" "> <BR>
<INPUT TYPE="radio" NAME="Lnm" VALUE=" "> <BR>
<INPUT TYPE="radio" NAME="Lnm" VALUE=" "> <BR>
<INPUT TYPE="radio" NAME="Lnm" VALUE=" "> <BR>
<INPUT TYPE="button" NAME="Bt" VALUE=" start " onClick="Btn() " onKeyPress="Btn() ">
</FORM>
RESERVED
cnt,TI,STT
|