-
Notifications
You must be signed in to change notification settings - Fork 2
/
front.html
109 lines (94 loc) · 3.29 KB
/
front.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="styles.css" media="all" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap" rel="stylesheet">
</head>
<body>
<h1>Verizon Virtual Teller</h1>
<p>Please select your preferences to get in to the queue.</p>
<p>
<strong>
Select your language preference:
</strong>
</p>
<script>
$(function()
{
$(".js-example-basic-multiple").select2();
});
</script>
<select class="js-example-basic-multiple" multiple="multiple">
<option value="English">English</option>
<option value="Spanish">Spanish</option>
<option value="Italian">Italian</option>
<option value="French">French</option>
<option value="Japanese">Japanese</option>
<option value="Chinese">Chinese</option>
</select>
<script>
document.getElementById("clickMe").onclick = getInputValue;
function getInputValue(){
var e = document.getElementById('language'); // Get the list where we will place our authors
var strUser = e.options[e.selectedIndex].value;
strUser.download = 'myFile.txt';
strUser.click();
}
</script>
<p><strong>Select your services:</strong></p> <select multiple size="6"> <option value="English">Card</option> <option value="Spanish">Transfer</option> <option value="Italian">Check</option> <option value="French">Savings</option> <option value="Japanese">Loan</option> <option value="Chinese">Mortgage</option> </select>
<p><strong>Select your location preference:</strong></p> <select multiple size="6"> <option value="English">US</option> <option value="Spanish">UK</option> <option value="Italian">Australia</option></select>
<div class="dropdown">
<button onclick="myFunction ()" class="dropbtn">Select your language preference:</button>
<div id="myDropdown" class="dropdown-content">
<a href="#">English</a>
<a href="#">Spanish</a>
<a href="#">Italian</a>
<a href="#">French</a>
<a href="#">Japanese</a>
<a href="#">Chinese</a>
<a href="#">Korean</a>
<a href="#">Tagalog</a>
</div>
</div>
<script>
function myFunction(){
document.getElementById("myDropdown").classList.toggle("show");
}
window.onclick=function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
<!--
<div class="droptest2">
<select name="langitems" id="langitems">
<option value="English">English</option>
<option value="Spanish">Spanish</option>
<option value="French">French</option>
<option value="Italian">Italian</option>
<option value="Chinese">Chinese</option>
<option value="Japanese">Japanese</option>
<option value="Korea">Korean</option>
<option value="Tagalog">Tagalog</option>
</select>
<input type="text" name="txtlang" id="txtlang" onClick="pickLang()">
<script>
var select = document.getElementById('langitems');
var input = document.getelementById('txtlang');
select.onchange = function() {
input.value = select.value;
}
</script>
</div>
-->
</body>
</html>