加入收藏-方便您以后查找网页特效哦
你的位置:
主页
>>
导航特效
根据星期几导航
星期几?
加入如下代码到body区域
<script language="JavaScript"> function GetTodaysURL() { var locationlist = new URLList ( "monday.htm", // Monday "tuesday.htm", // Tuesday "wednesday.htm", //Wednesday "thursday.htm", //Thursday "friday.htm", //Friday "saturday.htm", //Saturday "sunday.htm" // Sunday ); now = new Date(); num = now.getDay(); if (num == 0) num = 7; location.href = locationlist.list[num-1]; } function URLList () { var argv = URLList.arguments; var argc = argv.length; this.list = new Object(); for (var i = 0; i < argc; i++) this.list[i] = argv[i]; this.count = argc; return this; } </script> <a href="javascript:GetTodaysURL()">星期几?</a>
COPYRIGHT © 2003-2005 ALL RIGHTS RESERVED
业务联系
|
广告服务
|
网站建设
|
关于我们
|
免责声明
月光宝盒工作室
800*600