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> |