loginout.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta http-equiv="Pragma" content="no-cache">
  6. <meta http-equiv="Cache-Control" content="no-cache">
  7. <meta http-equiv="Expires" content="0">
  8. <title>退出登录</title>
  9. <link rel="stylesheet" href="css/index.css" type="text/css">
  10. <link rel="stylesheet" type="text/css" href="css/children.css">
  11. <link href="css/login.css" rel="stylesheet" type="text/css">
  12. <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
  13. <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
  14. <script src="js/login.js">
  15. </script>
  16. </head>
  17. <body>
  18. <h1>退出成功,正在返回首页......</h1>
  19. <script>
  20. if(sessionStorage!=undefined)
  21. {
  22. sessionStorage.removeItem("username");
  23. if(window.speechSynthesis !=undefined)
  24. {
  25. var msg = new SpeechSynthesisUtterance("正在退出,请稍后");
  26. window.speechSynthesis.speak(msg);
  27. }
  28. }
  29. setTimeout(function(){
  30. location.href="index.html";
  31. },2000)
  32. </script>
  33. </body>
  34. </html>