描述:Children's Day 儿童节(日本) 介绍:五月五日这一天在日本是男孩节(鲤のぼり/こい […]
Children’s Day 儿童节(日本)
描述:Children’s Day 儿童节(日本) 介绍:五月五日这一天在日本是男孩节(鲤のぼり/ […]
happy 5.1
网络常用符号表情及含义
@>>—>— 请收下这束漂亮的玫瑰 B-) 笑的人带 […]
Windows权限(2000/XP/2003)
来源:中国网管联盟 windows的权限是一个看似简单,却又十分难对付的一个问题. 有不少来网盟发问的朋友们觉 […]
普通文件的欺骗手法
有一个很想拿到权限的论坛,突然看到管理员征集XX资料的照片,并开放了一个FTP上传,于是想到了捆绑木马文件欺骗 […]
利索的关机代码
用内核函数ZwShutdownSystem来写一个.没想到这个函数关机,太利索,不拖泥带水。另外有个NTShu […]
三类危险的TXT文件
一。 隐藏HTML扩展名的TXT文件 假如您收到的邮件附件中有一个看起来是这样的文件:QQ 放送.txt, […]
dropline-水平三级横向弹出菜单
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>dropline-水平三级横向弹出菜单</title> <style type="text/css"> /* common styling */ .menu {font-family: arial, sans-serif; width:749px; height:30px; position:relative; margin:0; font-size:11px; margin:50px 0; background:#fff; position:relative;} .menu ul {padding:0; margin:0; list-style-type: none;} .menu ul li {float:left; border-left:1px solid #eee; width:106px;} .menu ul li a, .menu ul li a:visited {display:block; float:left; width:101px; text-decoration:none; padding:0 0 0 5px; height:30px; line-height:30px; color:#000; background:#c9c9a7 url(../../graphics/drop.gif) bottom right no-repeat;} .menu ul li ul {display: none;} /* specific to non IE browsers */ .menu ul li:hover a {color:#fff; background:#b3ab79;} .menu ul li:hover ul {display:block; position:absolute; width:749px; top:30px; left:0; background:#b3ab79; color:#fff;} .menu ul li:hover ul.right_side li {float:right; border:0; border-left:1px solid #eee;} .menu ul li:hover ul.left_side li {float:left; border:0; border-left:1px solid #eee;} .menu ul li:hover ul li a.hide {background:#bd8d5e url(../../graphics/drop2.gif) bottom right no-repeat; color:#fff;} .menu ul li:hover ul li:hover a.hide {background:#b3ab79; color:#fff;} .menu ul li:hover ul li ul {display: none;} .menu ul li:hover ul li a {display:block; background:##b3ab79; color:#fff;} .menu ul li:hover ul li a:hover {background:#dfc184; color:#000;} .menu ul li:hover ul li:hover ul {display:block; position:absolute; left:0; top:30px; color:#000; background:#dfc184;} .menu ul li:hover ul.right li {float:right;} .menu ul li:hover ul li:hover a.hide {background:#dfc184; color:#000;} .menu ul li:hover ul li:hover ul li a {background:#dfc184; color:#000;} .menu ul li:hover ul li:hover ul li a:hover {background:#bd8d5e; color:#fff;} </style> <!--[if lte IE 6]> <style type="text/css"> table {border-collapse:collapse; margin:0; padding:0;} .menu ul li a.hide, .menu ul li a:visited.hide {display:none;} .menu ul li a:hover ul li a.hide {display:none;} .menu ul li a, .menu ul li a:visited {background:#c9c9a7 url(../../graphics/drop.gif) 20px right no-repeat;} .menu ul li a:hover {color:#fff; background:#b3ab79;} .menu ul li a:hover ul {display:block; position:absolute; width:749px; top:30px; left:0; background:#b3ab79; color:#fff;} .menu ul li a:hover ul.right_side li {float:right; border-width:0 1px 0 0 0;} .menu ul li a:hover ul.left_side li {float:left;} .menu ul li a:hover ul li a.sub {background:#bd8d5e url(../../graphics/drop2.gif) 20px right no-repeat; color:#fff;} .menu ul li a:hover ul li a {display:block; background:#b3ab79; color:#fff;} .menu ul li a:hover ul li a ul {visibility:hidden;} .menu ul li a:hover ul li a:hover {background:#dfc184; color:#000;} .menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:0; top:30px; color:#000; background:#dfc184;} .menu ul li a:hover ul li a:hover ul li a {background:#dfc184; color:#000;} .menu ul li a:hover ul li a:hover ul li a:hover {background:#bd8d5e; color:#fff;} </style> <![endif]--> </head> <body> <div class="menu"> <ul> <li><a class="hide" href="../menu/index.html">DEMOS</a> <!--[if lte IE 6]> <a href="../menu/index.html">DEMOS <table><tr><td> <![endif]--> <ul> <li><a href="../menu/zero_dollars.html" title="The zero dollar ads page">zero dollars</a></li> <li><a href="../menu/embed.html" title="Wrapping text around images">wrapping text</a></li> <li><a href="../menu/form.html" title="Styling forms">styled form</a></li> <li><a href="../menu/nodots.html" title="Removing active/focus borders">active focus</a></li> <li><a class="hide" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">HOVER/CLICK</a> <!--[if lte IE 6]> <a class="sub" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">HOVER/CLICK</a> <![endif]--> <!--[if lte IE 6]> <a class="sub" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">HOVER/CLICK > <table><tr><td> <![endif]--> <ul> <li><a href="../menu/form.html" title="Styling forms">styled form</a></li> <li><a href="../menu/nodots.html" title="Styling forms">styled form2</a></li> </ul> </li> </ul> </li> </ul> </div> </body> </html> |
ANZAC Day 澳新军团日
描述:ANZAC Day 澳新军团日 介绍:澳纽军团日(ANZAC Day)是纪念1915年4月25日,在加里 […]
Google Adsense 的秘密
Google Adsense 的秘密 (中文版) <Google Adsense 的秘密> Emp […]
读者不愿发表评论的10种心态
我一直希望可以得到更多的评论,不过情况一直不太让我满意。今天看到一个讨论读者不想评论时的心态的帖子,写得真是非 […]
看我如何入侵ADSL
这是一位所谓的"黑客"的口述,你不妨看一下,也许你看完后对他的技术性做法不是完全明白,但是你肯定会感到一身冷汗 […]
Google Phone发布了
你刚才看到的标题并没写错,Google Phone的确是真实的产品,正由Google全力开发。Google的西 […]
SmartUpload上传下载全攻略
一、安装篇 [quote] jspSmartUpload是由www.jspsmart.com网站开发的一个 […]
ADO 连接字串一网打尽
[GS=ASP] FROM:http://www.basic-ultradev.com/articles/AD […]
mysql数据库基本操作
命令格式 mysql -u用户名 -p 数据库名 < 数据库名.sql 范例: mysql -uabc_f - […]
oracle日期和时间处理汇总
在oracle中处理日期大全 TO_DATE格式 Day: dd number 12 dy abbreviat […]
常用SQL代码
获取刚insert的ID INSERT INTO jobs (job_desc,min_lvl,max_lvl […]
各种数据库中,如何读取前10条记录
[GS=SQL] 1. orACLE Select * FROM TABLE1 Where ROWNUM
收藏几段SQL Server语句和存储过程
[GS=SQL] 收藏几段SQL Server语句和存储过程 — ================ […]
翻页函数
[GS=JavaScript] function gourl(gotourl,pagenum) { pageN […]
文字防复制乱码函数
[GS=ASP] <% ‘作用:文字防复制乱码 函数 ‘Date:2006-3- […]
网络速度指数测试
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <link rel="stylesheet" href="/portal/css/index.css" type="text/css"> <title>网络速度指数测试----蓝色新感觉</title> <style type="text/css"> <!-- body { background-image: url(/HAS_Client/buy/img/host_speed.jpg); } --> </style> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align='center'> <script language="Javascript"> tim = 1; setInterval("tim++", 10); b = 1; var autourl = new Array(); autourl[1] = "cb-h4.hichina.com"; autourl[2] = "cz-h1.hichina.com"; function check() { var formplace = ""; //首页主机放置地点测试 formplace = ""; if (typeof (formplace) == "object") { for (i = 0; i < formplace.length; i++) { if (((formplace[i].value).split("/"))[1] == document.all["hostplace"].innerText) { formplace[i].selected = true; break; } } } } function butt() { document.write("<form name=autof action='' onsubmit='check();'><br>网络速度指数测试<br>"); for (var i = 1; i < autourl.length; i++) { document.write("<br><input type=text name=txt" + i + " size=32 value=测试中……>") } document.write("<br><br>"); document.write("<p id='anti' style='Display:none'>在您本地访问<font color=red><span id='hostplace'></span></font>机房速度较快,推荐选择."); document.write("<input type=hidden name=vstyle value=ok>"); document.write("<br><input type=submit name=ok value='重新测试'><input type=button name=h value=' 关 闭 ' onclick='window.close()'></p></form>"); } function auto(url) { var urlName; if (url == "http://cb-h4.hichina.com") { urlName = "中国电信"; } else { urlName = "中国网通"; } if (tim > 4000) { document.forms[0]["txt" + b].value = urlName + "链接超时"; } else { document.forms[0]["txt" + b].value = urlName + "机房速度指数:" + adv_format(18000 / tim, 2); } if (b == 2) { document.all["anti"].style.display = ''; document.all["hostplace"].innerText = (document.forms[0].txt1.value).substr(0, 4); } b++; } function run() { for (var i = 1; i < autourl.length; i++) { setTimeout("EditTimeout" + i + "('" + autourl[i] + "')", 45000); document.write("<img src=http://" + autourl[i] + "/test_pic.jpg?" + Math.random() + " width=1 height=1 onLoad=auto('http://" + autourl[i] + "')> ") //document.write("<img src=http://"+autourl[i]+"/"+Math.random()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>"); } } function EditTimeout1(url) { var urlName; if (url == "cb-h4.hichina.com") urlName = "中国电信"; else urlName = "中国网通"; if (document.forms[0]["txt1"].value == "测试中……") document.forms[0]["txt1"].value = urlName + "链接超时"; else if (document.forms[0]["txt2"].value == "测试中……") document.forms[0]["txt2"].value = urlName + "链接超时" document.all["anti"].style.display = ''; document.all["hostplace"].innerText = (document.forms[0].txt1.value).substr(0, 4); } function EditTimeout2(url) { var urlName; if (url == "cb-h4.hichina.com") urlName = "中国电信" else urlName = "中国网通" if (document.forms[0]["txt1"].value == "测试中……") document.forms[0]["txt1"].value = urlName + "链接超时" else if (document.forms[0]["txt2"].value == "测试中……") document.forms[0]["txt2"].value = urlName + "链接超时"; document.all["anti"].style.display = ''; document.all["hostplace"].innerText = (document.forms[0].txt1.value).substr(0, 4); } function MM_openBrWindow(theURL, winName, features) { //v2.0 window.open(theURL, winName, features); } function adv_format(value, num) //四舍五入 { var a_str = formatnumber(value, num); var a_int = parseFloat(a_str); if (value.toString().length > a_str.length) { var b_str = value.toString().substring(a_str.length, a_str.length + 1); var b_int = parseFloat(b_str); if (b_int < 5) { return a_str } else { var bonus_str, bonus_int; if (num == 0) { bonus_int = 1; } else { bonus_str = "0."; for (var i = 1; i < num; i++) bonus_str += "0"; bonus_str += "1"; bonus_int = parseFloat(bonus_str); } a_str = formatnumber(a_int + bonus_int, num) } } return a_str } function formatnumber(value, num) //直接去尾 { var a, b, c, i; a = value.toString(); b = a.indexOf('.'); c = a.length; if (num == 0) { if (b != -1) a = a.substring(0, b); } else { if (b == -1) { a = a + "."; for (i = 1; i <= num; i++) a = a + "0"; } else { a = a.substring(0, b + num + 1); for (i = c; i <= b + num; i++) a = a + "0"; } } return a } butt(); run(); </script> </td> </tr> </table> </body> </html> |
下拉菜单3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
<script type="text/javascript">// <![CDATA[ var g_arrResType = [["华语音乐","欧美音乐","日韩音乐","流行MTV","其它音乐"], ["视频短片","精彩电影","电视剧集","卡通动漫","体育节目","综艺节目","相声小品","Flash短片","电影片花"], ["网络游戏","单机游戏","游戏视频","Flash游戏","游戏补丁","掌上游戏"], ["系统工具","网络软件","应用软件","影音媒体","病毒防治","硬件驱动","其它软件"], ["外语教材","计算机类","网络小说","电子杂志","其它文档"], ["软件驱动","手机电影","手机游戏","铃声音乐","手机书籍"]]; function showSubType(type) { for(var i=1; i<=6; i++) { var td = document.getElementById("td"+i); if (td.className == "nav_select") td.className = "nav_normal"; } document.getElementById("td"+type).className = "nav_select"; /*if(type == 6) { document.getElementById("sub").innerHTML = " "; return; }*/ var sHTML = " "; for(var i=0; i<g_arrResType[type-1].length; i++) { if(type==1) var strUrl = "http://pstatic.xunlei.com/channel2/column"+(i+1)+"/list_"+2+"_"+(i+1)+"_1.htm"; else if(type==2) var strUrl = "http://pstatic.xunlei.com/channel1/column"+(i+1)+"/list_"+1+"_"+(i+1)+"_1.htm"; else var strUrl = "http://pstatic.xunlei.com/channel"+type+"/column"+(i+1)+"/list_"+type+"_"+(i+1)+"_1.htm"; strUrl = "JavaScript:OpenPortalPage(\"" + strUrl + "\")"; sHTML += "<a href='" + strUrl + "' class='xtitle'>" + g_arrResType[type-1][i] + "</a> "; } document.getElementById("sub").innerHTML = sHTML; } // ]]></script> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td height="4"></td> </tr> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr align="center" valign="middle"> <td id="td1" class="nav_normal" width="40" height="23"><a class="xtitle" onmouseover="showSubType(1)" href="JavaScript:OpenPortalPage('http://pstatic.xunlei.com/channel2/index.htm')">音乐</a></td> <td class="nav_normal" width="10">|</td> <td id="td2" class="nav_normal" width="40"><a class="xtitle" onmouseover="showSubType(2)" href="JavaScript:OpenPortalPage('http://pstatic.xunlei.com/channel1/index.htm')">影视</a></td> <td class="nav_normal" width="10">|</td> <td id="td3" class="nav_normal" width="40"><a class="xtitle" onmouseover="showSubType(3)" href="JavaScript:OpenPortalPage('http://pstatic.xunlei.com/channel3/index.htm')">游戏</a></td> <td class="nav_normal" width="10">|</td> <td id="td4" class="nav_normal" width="40"><a class="xtitle" onmouseover="showSubType(4)" href="JavaScript:OpenPortalPage('http://pstatic.xunlei.com/channel4/index.htm')">软件</a></td> <td class="nav_normal" width="10">|</td> <td id="td5" class="nav_normal" width="40"><a class="xtitle" onmouseover="showSubType(5)" href="JavaScript:OpenPortalPage('http://pstatic.xunlei.com/channel5/index.htm')">书籍</a></td> <td class="nav_normal" width="10">|</td> <td id="td6" class="nav_normal" width="40"><a class="xtitle" onmouseover="showSubType(6)" href="JavaScript:OpenPortalPage('http://pstatic.xunlei.com/channel6/index.htm')">手机</a></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table class="nav_normal" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr valign="middle"> <td width="20" height="27"></td> <td id="sub" width="100%"></td> </tr> </tbody> </table> |