.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<link href="../css/chart_style.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap.css" rel="stylesheet">
|
||||
<script language="javascript" src="../js/AjaxRequest.js"></script>
|
||||
<link rel="stylesheet" href="。。/css/emoji.css">
|
||||
<link rel="stylesheet" href="../css/emoji.css">
|
||||
<script language="javascript">
|
||||
window.setInterval("showContent();", 1000);
|
||||
window.setInterval("showOnline();", 10000);
|
||||
@@ -55,15 +55,15 @@ function set(selectPerson){ //
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script language="jscript">
|
||||
window.onbeforeunload = function() { //当用户单击浏览器中的“关闭”按钮时,执行退出操作
|
||||
if (event.clientY < 0 && event.clientX > document.body.scrollmax - width) {
|
||||
Exit(); //执行退出操作
|
||||
}
|
||||
}
|
||||
<script language="javascript">
|
||||
|
||||
$(window).on('beforeunload', function() {
|
||||
return '您的视频时间尚未结束,现在退出将无法回到视频';
|
||||
})
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onLoad="showContent();showOnline();set('所有人');" onbeforeunload="Exit()">
|
||||
<body onLoad="showContent();showOnline();set('所有人');">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="chatTop"></div>
|
||||
|
||||
Reference in New Issue
Block a user