1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<script type=text/JavaScript> <!-- hr0 ='<a href="#" target="_blank">111</a>'; hr1 ='<a href="#" target="_blank">222</a>'; hr2 ='<a href="#" target="_blank">333</a>'; hr3 ='<a href="#" target="_blank">444</a>'; hr4 ='<a href="#" target="_blank">555</a>'; function getunum(){ var now=new Date(); var number = now.getSeconds()%5; document.write(eval('hr'+number)); } getunum(); //--> </script> |