-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChristmas.html
More file actions
35 lines (33 loc) · 803 Bytes
/
Copy pathChristmas.html
File metadata and controls
35 lines (33 loc) · 803 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
34
35
<!DOCTYPE html>
<html>
<head>
<title>Merry Christmas</title>
<link rel="stylesheet" href="Christmas.css">
</head>
<body>
<main>
<section>
<div class="top-box">
<span></span>
</div>
<div class="wishes">
<p>Merry Christmas</p>
</div>
<div class="bottom-box">
<span></span>
<span></span>
</div>
</section>
</main>
<p id="footnote">©</p>
<script type="text/javascript">
WebView wv=new WebView(this);
wv.setWebChromeClient(new WebChromeClient() {
@Override
public boolean onJsAlert(WebView view, String url, String message, JsResult result) {
//Do what you need to after alert is received
return super.onJsAlert(view, url, message, result);
}
</script>
</body>
</html>