<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head>
    <title>Untitled Page</title>
</head>

<script language="javascript" type="text/javascript">

function OpenLink()
{
    var now= new Date();
    var year=now.getYear();
    var month=now.getMonth()+1;
    var day=now.getDate();
    var hour=now.getHours();
    var minute=now.getMinutes();
    var second=now.getSeconds();
    var ul='';
    var ys;
    ys=second%4;
     // alert(ys);
     // alert(year+"-"+month+"-"+day+" "+hour+":"+":"+minute+":"+second);
    switch(ys)
    {
        case 0:
            ul='http://www.ccb.com';
            break;
        case 1:
             ul='http://www.163.com';
            break;
        case 2:
             ul='http://www.sohu.com';
            break;
        case 3:
             ul='http://www.qq.com';
            break;
        default:
            ul='http://www.163.com';
    }
    //alert(ul);
    window.location.href=ul;//这是直接在当前页跳转
}
function test()
{
    alert("");
}
</script>
<body link="#191070">

<input   />
 
</body>
</html>

 

相关文章:

  • 2021-06-16
  • 2021-07-14
  • 2021-05-24
  • 2021-09-01
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-01-29
猜你喜欢
  • 2022-12-23
  • 2021-05-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2021-08-05
相关资源
相似解决方案