Message.aspx
上传用户:szhf331
上传日期:2022-06-22
资源大小:1032k
文件大小:2k
源码类别:

行业应用

开发平台:

JavaScript

  1. <%@ page language="C#" autoeventwireup="true" inherits="Admin_Message, App_Web_-xa8ffcb" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.       <script src="inc/admin.js" type="text/javascript"></script>
  7.     <script src="inc/showpage.js" type="text/javascript"></script>
  8.     <link href="images/css.css" type="text/css" rel="stylesheet" />
  9.     <link href="images/admin_file_css.css" type="text/css" rel="stylesheet" />
  10.     <script type="text/javascript" src="../Admin/js/jquery-1.3.2.min.js"></script>
  11.     <script type="text/javascript">         //3秒后自动跳转
  12.          $(function() {
  13.              var ji = 5; //记秒用
  14.                  var interval = setInterval(function() {
  15.                      ji--;
  16.                      $("#message").html(ji);
  17.                      if (ji <= 0) {
  18.                          $("#message").html("0");
  19.                          clearInterval(interval);
  20.                          location.href =$("#httpa").attr("href");
  21.                      }
  22.                  }, 1000);
  23.           
  24.          });
  25.      
  26.     </script>
  27.     <%--5秒后自动跳转--%>
  28. </head>
  29. <body>
  30.     <form id="form1" runat="server">
  31.         
  32.       <%--      <link href="images/css.css" type="text/css" rel="stylesheet" />
  33.     <meta http-equiv="Content-Type" content="text/html; charset=bg2312" />--%>
  34.     <table width="50%" border="1" align="center" class="msg err">
  35.         <tr>
  36.             <th>
  37.                 <%= message %>:</th>
  38.             <tr>
  39.                 <td>
  40.                     <ul class="infos">
  41.                       <li style="font-size:20px"><%= message %>
  42.                         :将在<span style="font-weight:bold;font-size:15px" id="message">5</span>秒后返回!</li>
  43.                         <li><a id="httpa" href='<%= urll %>'><b>返回上一页</b></a></li></ul>
  44.                 </td>
  45.             </tr>
  46.     </table>
  47.            </form>
  48. </body>
  49. </html>