function showtime() { days = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"); months = new Array("1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"); timedate = new Date(); hours = timedate.getHours(); minutes = timedate.getMinutes(); seconds = timedate.getSeconds(); todaydate = timedate.getDate(); day = timedate.getDay(); dayname = days[day]; month = timedate.getMonth(); monthname = months[month]; year = timedate.getFullYear(); if (length(minutes) == 1) { minutes = "0" + minutes; } // end if if (length(seconds) == 1) { seconds = "0" + seconds; } // end if _root.t1.text = hours + ":" + minutes + ":" + seconds; _root.t2.text = year + "年" + monthname + todaydate + "日" + " " + dayname; } // End of the function function dj_menu0() { getURL("http://kmqinoglin./"); } // End of the function function dj_menu1() { getURL("http://www1./peradmin/htmlfile/kmqinoglin/201004091223012436508.htm"); } // End of the function function dj_menu2() { getURL("http://v.youku.com/v_show/id_XMzE0NDc4OTEy.html"); } // End of the function function dj_menu3() { getURL("http://qinoglin.56.com"); } // End of the function function dj_menu4() { getURL("http://home./mp4.swf?user=km7777"); } // End of the function function dj_menu5() { getURL("http://km2011..cn/mp3.swf"); } // End of the function function dj_menu6() { getURL("http://www.youku.com/playlist_show/id_17489327.html"); } // End of the function function dj_menu7() { getURL("http://"); } // End of the function setInterval(showtime, 1000); 右键菜单 = new ContextMenu(); eval("右键菜单").hideBuiltInItems(); eval("右键菜单").customItems.push(new ContextMenuItem("【点击进入欢迎光临漫步人生动画工作室!】", dj_menu0, false)); eval("右键菜单").customItems.push(new ContextMenuItem("【点击欣赏更多FLASH动画!】", dj_menu1, false)); eval("右键菜单").customItems.push(new ContextMenuItem("【点击进入 Photoshop视频教程从入门到精通!】", dj_menu2, false)); eval("右键菜单").customItems.push(new ContextMenuItem("【点击进入DJ舞曲网站,欣赏更多精彩!】", dj_menu3, false)); eval("右键菜单").customItems.push(new ContextMenuItem("【点击进入1000多首竹林笛曲欣赏!】", dj_menu4, false)); eval("右键菜单").customItems.push(new ContextMenuItem("【点击进入6000首MTV网络歌曲联播!】", dj_menu5, false)); eval("右键菜单").customItems.push(new ContextMenuItem("【点击进入漫步人生FLASH动画教学课堂!】", dj_menu6, false)); _root.menu = eval("右键菜单"); |
|