-
Notifications
You must be signed in to change notification settings - Fork 3
/
cursor.php
84 lines (77 loc) · 2.38 KB
/
cursor.php
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
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript">
// $('#numOne').keypress(
// function(e){
// if (e.which == 45) {
// $(this).next('input:text').focus();
// return false; // prevents the '-' being entered.
// }
// });
function dash() {
if (maxlenghth==4) {
}
}
</script>
<style type="text/css">
div{
width:100px;
height: 100px;
position:relative;
background-image:url(http://24.media.tumblr.com/tumblr_m2scelXYGA1qbmtexo1_500.jpg);
/*background-size:cover;*/
/*background-position:50%;*/
}
div:before{
content:'';
position: absolute;
/*left: 2%;*/
top: 2%;
width: 95%;
height: 95%;
border: 1px solid white;
}
</style>
</head>
<body>
<form action="#" method="post">
<fieldset>
<label for="numOne">Number:</label>
<input type="text" id="numOne" name="numOne"/><!--
<input type="text" id="numTwo" name="numTwo" maxlength="4" />
<input type="text" id="three" name="numThree" maxlength="4" /> -->
</fieldset>
</form>
<form>
<input type="text" id="first" size="4" onkeyup="movetoNext(this, 'second')" maxlength="3" />
<input type="text" id="second" size="4" onkeyup="movetoNext(this, 'third')" maxlength="3" />
<input type="text" id="third" size="5" maxlength="4" />
</form>
<div>
scd
</div>
</body>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.19.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.19.0/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyD5Q-YiqrVg0aF9umHSN74aVuCDrCTTxUI",
authDomain: "techdeck-59421.firebaseapp.com",
databaseURL: "https://techdeck-59421.firebaseio.com",
projectId: "techdeck-59421",
storageBucket: "techdeck-59421.appspot.com",
messagingSenderId: "420011317236",
appId: "1:420011317236:web:206e080697aa2b55560ba1",
measurementId: "G-TV6SPFR9B2"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
</html>