success.jsp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>报名成功</title>
  8. <script language="javascript" type="text/javascript">
  9. // 以下方式定时跳转
  10. setTimeout("javascript:location.href='javascript:history.go(-1)'", 5000);
  11. var wait=5;
  12. (function time(o) {
  13. o = wait;
  14. wait--;
  15. setTimeout(function() {time(o);}, 1000);
  16. //document.write(o);
  17. document.getElementById("num").innerHTML = o;
  18. })();
  19. </script>
  20. <style type="text/css">
  21. *{ margin: 0;
  22. padding: 0;
  23. }
  24. html {
  25. background: linear-gradient(to top right, white 0%, skyblue 98%, blue 100%);
  26. font-family: "宋体";
  27. background-repeat: no-repeat;
  28. width: 100%;
  29. height: 100%;
  30. }
  31. h2{
  32. color: white;
  33. margin-left: 20px;
  34. margin-top: 15px;
  35. }
  36. h4{ color: white;
  37. margin-left: 20px;
  38. }
  39. .a{
  40. height: 20px;
  41. width: 95%;
  42. background: linear-gradient(to bottom, white 25%, gray 100%);
  43. margin-top: 10px;
  44. margin-left: 20px;
  45. }
  46. .b{margin-top: 20px;}
  47. </style>
  48. </head>
  49. <body>
  50. <h2>
  51. 深圳信息职业技术学院校运会成功报名
  52. </h2>
  53. <h4>Shenzhen Institute of Information Technology successfully registered for the school sports meeting</h4>
  54. <div class="a"></div>
  55. <center class="b">
  56. <h1>报名成功</h1>
  57. <p><span id="num">5</span>秒后返回上一级<p>
  58. </center>
  59. </body>
  60. </html>