-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
33 lines (29 loc) · 925 Bytes
/
404.html
File metadata and controls
33 lines (29 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>VDTV - 線上影音平台</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
<body class="">
<div id="view">
<h1>404</h1>
<a href='/TV/NEWS/TVBS.html'>新聞</a>
</div>
<script>
var registerAjax = function(){
document.getElementsByTagName('a').forEach(el=>{
el.addEventListener('click',function(e) {
e.preventDefault()
history.pushState('',{},el.href)
$('#view').load(el.href + ' #view',function(){
registerAjax()
})
})
})
}
</script>
</body>
</html>