pp.asp
上传用户:hnxqingdao
上传日期:2013-05-22
资源大小:1283k
文件大小:4k
源码类别:

其他行业

开发平台:

ASP/ASPX

  1. <script language = "JavaScript">
  2. var onecount;
  3. onecount=0;
  4. subcat = new Array();
  5. subcat[0] = new Array("ASP基础","2","1");
  6. subcat[1] = new Array("ASP应用","2","2");
  7. subcat[2] = new Array("ASP技巧","2","3");
  8. subcat[3] = new Array("性能优化","2","4");
  9. subcat[4] = new Array("安全加密","2","5");
  10. subcat[5] = new Array("XML相关","2","6");
  11. subcat[6] = new Array("全文检索","2","7");
  12. subcat[7] = new Array("客户端相关","2","8");
  13. subcat[8] = new Array("打印相关","2","9");
  14. subcat[9] = new Array("数据库相关","2","10");
  15. subcat[10] = new Array("入门教程","3","11");
  16. subcat[11] = new Array("FTP/HTTP/Debug","3","12");
  17. subcat[12] = new Array("XML应用","3","13");
  18. subcat[13] = new Array("图像处理","3","14");
  19. subcat[14] = new Array("数据库操作","3","15");
  20. subcat[15] = new Array("文件处理","3","16");
  21. subcat[16] = new Array("MS Access","5","17");
  22. subcat[17] = new Array("MS SQL","5","18");
  23. subcat[18] = new Array("DB2","5","19");
  24. subcat[19] = new Array("Oracle","5","20");
  25. subcat[20] = new Array("Application/Applet","4","21");
  26. subcat[21] = new Array("J2EE/EJB/服务器","4","22");
  27. subcat[22] = new Array("J2ME开发","4","23");
  28. subcat[23] = new Array("Java基础","4","24");
  29. subcat[24] = new Array("Java技巧及代码","4","25");
  30. subcat[25] = new Array("Jsp/Servlet","4","26");
  31. subcat[26] = new Array("正则表达式","2","27");
  32. subcat[27] = new Array("系统相关","2","28");
  33. subcat[28] = new Array("组件开发","2","29");
  34. subcat[29] = new Array("脚本编码","2","30");
  35. subcat[30] = new Array("远程脚本","2","31");
  36. subcat[31] = new Array("邮件相关","2","32");
  37. subcat[32] = new Array("FSO专题","2","33");
  38. subcat[33] = new Array(".NET概论及软件使用","1","34");
  39. subcat[34] = new Array("Asp.Net开发","1","35");
  40. subcat[35] = new Array("C#语言","1","36");
  41. subcat[36] = new Array("VB.net语言","1","37");
  42. subcat[37] = new Array("E-mail专题","1","38");
  43. subcat[38] = new Array("WebService","1","39");
  44. subcat[39] = new Array("winform应用","1","40");
  45. subcat[40] = new Array("window app开发","1","41");
  46. subcat[41] = new Array("winsock应用","1","42");
  47. subcat[42] = new Array("XML应用","1","43");
  48. subcat[43] = new Array("数据库应用","1","44");
  49. subcat[44] = new Array("综合应用","1","45");
  50. subcat[45] = new Array("OO相关","1","46");
  51. subcat[46] = new Array("文件操作","1","47");
  52. subcat[47] = new Array("算法/线程","1","48");
  53. subcat[48] = new Array("软件工程","1","49");
  54. subcat[49] = new Array("面向对象程序基础","1","50");
  55. subcat[50] = new Array("SOAP/UDDI/WSDL","1","51");
  56. subcat[51] = new Array("控件开发和使用","1","52");
  57. subcat[52] = new Array("MySQL","5","53");
  58. subcat[53] = new Array("Sybase","5","54");
  59. subcat[54] = new Array("DataWarehouse","5","55");
  60. subcat[55] = new Array("Replication","5","56");
  61. subcat[56] = new Array("Performance Turning","5","57");
  62. subcat[57] = new Array("FAQ","5","58");
  63. subcat[58] = new Array("邮件处理","3","59");
  64. subcat[59] = new Array("开发工具","4","60");
  65. subcat[60] = new Array("调试手记","4","61");
  66. subcat[61] = new Array("面向对象/设计","4","62");
  67. subcat[62] = new Array("企业级应用","4","63");
  68. subcat[63] = new Array("嵌入式开发","4","64");
  69. subcat[64] = new Array("Java与XML","4","65");
  70. subcat[65] = new Array("资料/其它","4","66");
  71. onecount=66;
  72. function changelocation(locationid)
  73. {
  74. document.myform.Nclassid.length = 0; 
  75. var locationid=locationid;
  76. var i;
  77. for (i=0;i < onecount; i++)
  78. {
  79. if (subcat[i][1] == locationid)
  80. document.myform.Nclassid.options[document.myform.Nclassid.length] = new Option(subcat[i][0], subcat[i][2]);
  81. }
  82. </script>
  83. <form method="post" name="myform" action="ru_query.asp">
  84. 文章搜索:
  85. <select name="action" size="1">
  86. <option value="title">文章标题</option>
  87. </select>
  88. <select name="classid" onChange="changelocation(document.myform.classid.options[document.myform.classid.selectedIndex].value)" size="1">
  89. <option selected value="">未指定条件</option>
  90. <option value="1">.Net专区</option>
  91. <option value="2">ASP技术</option>
  92. <option value="3">PHP技术</option>
  93. <option value="4">JSP技术</option>
  94. <option value="5">数据库</option>
  95. </select> 
  96. <select name="Nclassid"> 
  97. <option selected value="">未指定条件</option>
  98. </select>
  99. <input type="text" name="keyword" class=smallinput size=10 value="关键字" maxlength="50">
  100. <input type="submit" name="Submit" value="搜索">
  101. </form>