-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfullscreen_rotate.html
75 lines (51 loc) · 2.13 KB
/
fullscreen_rotate.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<html style="background-color:white">
<script>
function openFullscreen() {
document.body.requestFullscreen();
screen.orientation
.lock('landscape-secondary')
.then(() => {
// screen.orientation.lock("portrait");
// log.textContent = `Locked to ${oppositeOrientation}\n`;
})
.catch((error) => {
//log.textContent += `${error}\n`;
});
}
function closeFullscreen() {
screen.orientation.lock("portrait");
}
function closeFullscreen() { document.exitFullscreen(); }
function openFullscreenpotrait() {
document.body.requestFullscreen();
screen.orientation.lock("portrait");
}
</script>
<body style="background-color:white">
<div style="margin-top:80px;margin-left:30%">
<div class="panel-body" >
<form action="" id="form_register">
<div class="form-group mb15">
<input onclick="openFullscreen()" autofocus="" type="email" name="reg_email" id="reg_email" class="form-control" placeholder="Email Anda" fdprocessedid="7nyfw">
</div>
<div class="form-group mb15">
<input type="text" id="reg_nama" name="reg_nama" class="form-control" placeholder="Nama Lengkap Anda" fdprocessedid="cd6u56">
</div>
<div class="form-group mb15">
<input type="text" id="reg_nohp" name="reg_nohp" class="form-control" placeholder="Nomor Handphone Anda" fdprocessedid="jcbhau">
</div>
<div class="form-group mb15">
<input type="password" id="reg_pwd" name="reg_pwd" class="form-control" placeholder="Password Anda" fdprocessedid="8aa04v">
</div>
<div class="form-group mb15">
<input type="password" id="reg_pwd_confirm" name="reg_pwd_confirm" class="form-control" placeholder="Konfirmasi Password Anda" fdprocessedid="cnp5l">
</div>
<div class="form-group">
<button class="btn btn-success btn-quirk btn-block btn_register" fdprocessedid="5fd1v">Buat Akun</button>
</div>
</form>
</div>
</body>
<script>
</script>
</html>