将下面代码保存为一个html文件,打开看看吧!

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
  2. <html>  
  3. <head>  
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  
  5. <title>500</title>  
  6. <style type="text/css">  
  7. <!--  
  8. .style1 {  
  9. color: #FF0000;  
  10. font-weight: bold;  
  11. }  
  12. body{  
  13. font-size: 9pt;  
  14. line-height: 1.5;  
  15. font-family: "宋体";  
  16. }  
  17.  
  18. -->  
  19. </style>  
  20. <script type="text/javascript">  
  21. function showDiv(id){  
  22. obj = document.getElementsByTagName("div");  
  23. var objDiv = obj[id];  
  24. if (objDiv.style.display == "none")   
  25. objDiv.style.display = "block";   
  26. else   
  27. objDiv.style.display = "none";   
  28. }  
  29. //-->  
  30. </script>  
  31. </head>  
  32.  
  33. <body background='p_w_picpaths/allbg.gif'>  
  34. <p>&nbsp;</p>  
  35. <p>&nbsp;</p>  
  36. <p>&nbsp;</p>  
  37. <table width="50%" border="0" align="center" cellpadding="10" cellspacing="0">  
  38. <tr>  
  39. <td bgcolor="#A4A4A4"><table width="100%" border="0" cellpadding="0" cellspacing="0">  
  40. <tr>  
  41. <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="15" cellspacing="1">  
  42. <tr>  
  43. <td bgcolor="#E1E1E1"><div align="center"><span class="style1">出错啦...!<a href="#" onclick="showDiv('moreInfo');">更多信息...</a></span> </div></td>  
  44. </tr>  
  45. </table></td>  
  46. </tr>  
  47. </table></td>  
  48. </tr>  
  49. </table>  
  50. <div id="moreInfo" style="display: none;margin-left: 20">  
  51. <ul>出现该错误,可能是以下原因造成的:  
  52. <li>您还没有登陆.请先<a href="adminLogin.jsp">登陆</a>.</li>  
  53. <li>您登陆时间过长,请<a href="adminLogin.jsp">重新登陆</a>.</li>  
  54. <li>您的操作有误,确保您有足够的权限.</li>  
  55. <li>程序漏洞,请与管理员联系.</li>  
  56. </ul>  
  57. </div>  
  58. </body>  
  59. </html>