-
Notifications
You must be signed in to change notification settings - Fork 0
/
abc1.html
187 lines (161 loc) · 8.57 KB
/
abc1.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/css/materialize.min.css">
<style type="text/css">
.myclass1{
height: 60px;
width: 200px;
border-color: black;
border-style: solid;
border-radius: 80px 80px 80px 80px;
position: relative;
top:18px;left:5px;
border-color: #d3d3d3;
font-size: 20px;
}
.myclass1:hover,
.myclass1:focus
{
background-color: #65CDF0;
color:#ffffe6;
}
.myclass2{
position:relative;
top:15px;left:5px;
color:#696969;
font-size:20px;
}
.myclass2:hover,
.myclass2:focus{
color:#ffffe6;
}
.inlineclass{
display:inline-block;
}
#b12{
display: none;
}
#b13{
display: none;
}
#b14{
display: none;
}
.chip img {
float: left;
margin: 0 10px 0 -25px;
height: 50px;
width: 50px;
border-radius: 50%;
}
.closebtn {
padding-left: 10px;
color: #888;
font-weight: bold;
font-size: 16px;
cursor: pointer;
}
.closebtn:hover {
color: #000;
}
.inlineclass1{
display:inline;
}
#txtbox1{
display: none;
}
</style>
<title></title>
</head>
<body>
</div>
<div style="position:relative; top:50px; left:120px"><form id="form1" enctype="appl">
<input type="text" id="txtbox1">
<div contenteditable="true" style="width:1000px; height:40px; border-style: none none solid none;
border-color: #d3d3d3; font-size:25px; display:inline-block" id="Content"><span id="span4">Enter Service Request...</span><span class=" closebtn" id="span1" style="position:relative;bottom:10px"></span></div>
<button style="border: none ;" id="subBut1" ><span style=" color: #808080 ;padding: 15px 32px; text-decoration: none; display: inline-block; font-size: 16px;display:inline-block; ">Submit</span></button>
<p style="padding:50px"></p>
<div id="b11" >
<h6> Please select your type of <b>request</b>:</h6>
<div class="myclass1 inlineclass" id="b1" "> <input type="radio" name="rad1" id="r1" value="Furniture Repair" class="myclass2"><label for="r1" style="position:relative;top:11px;left:12px;cursor:pointer;" class="myclass2" value="Furniture Repair" > Furniture Repair</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b2" "> <input type="radio" name="rad1" id="r2" value="Plumbing Issue" class="myclass2"><label for="r2" style="position:relative;top:11px;left:12px;cursor:pointer;" class="myclass2" value="Plumbing Issue"> Plumbing Issue</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b3" "> <input type="radio" name="rad1" id="r3" value="Electrical Issue" class="myclass2"><label for="r3" style="position:relative;top:11px;left:12px;cursor:pointer;" class="myclass2" value="Electrical Issue"> Electrical Issue</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b4" "> <input type="radio" name="rad1" id="r4" value="Internet Issue" class="myclass2"><label for="r4" style="position:relative;top:11px;left:12px;cursor:pointer;" class="myclass2" value="Internet Issue"> Internet Issue</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b5" "> <input type="radio" name="rad1" id="r5" value="DTH/Cable Issue" class="myclass2"><label for="r5" style="position:relative;top:11px;left:12px;cursor:pointer;" class="myclass2" value="DTH/Cable Issue"> DTH/Cable Issue</label></div><p style="display:inline-block;padding-left:40px"></p>
</div>
<div id="b12">
<h6>Please select your type of <b>issue</b>:</h6>
<div class="myclass1 inlineclass" id="b1" > <input type="radio" name="rad2" id="r11" value="Issue With Bed" class="myclass2"><label for="r11" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Issue With Bed"> Issue With Bed</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b2" > <input type="radio" name="rad2" id="r12" value="Issue With Wardrobe" class="myclass2"><label for="r12" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Issue With Wardrobe"> Issue With Wardrobe</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b3" > <input type="radio" name="rad2" id="r13" value="Issue With Mattress" class="myclass2"><label for="r13" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Issue With Mattress"> Issue With Mattress</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b4" > <input type="radio" name="rad2" id="r14" value="Issue With Side Table" class="myclass2"><label for="r14" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Issue With Side Table"> Issue With Side Table</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b5" > <input type="radio" name="rad2" id="r15" value="Issue With Sofa Set" class="myclass2"><label for="r15" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Issue With Sofa Set"> Issue With Sofa Set</label></div><p style="display:inline-block;padding-left:40px"></p>
</div>
<div id="b13">
<h6>Please select your type of <b>Priority</b>:</h6>
<div class="myclass1 inlineclass" id="b1" > <input type="radio" name="rad3" id="r21" value="High Priority" class="myclass2"><label for="r21" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="High Priority"> High Priority</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b2" > <input type="radio" name="rad3" id="r22" value="Fix it Asap" class="myclass2"><label for="r22" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Fix it Asap"> Fix it Asap</label></div><p style="display:inline-block;padding-left:40px"></p>
<div class="myclass1 inlineclass" id="b3" > <input type="radio" name="rad3" id="r23" value="Not Bothering, needs fixing" class="myclass2"><label for="r23" style="position:relative;top:11px;left:9px;cursor:pointer;" class="myclass2" value="Not Bothering"> Fix needed</label></div><p style="display:inline-block;padding-left:40px"></p>
</div>
<div id="b14">
<h6>Any <b>Comments</b>?:</h6>
<input type="text" name="txt123" id="txtbox2" style="width:1000px; height:40px; border-style: none none solid none;
border-color: #d3d3d3; font-size:25px;display:block;">
<button style="border: none ;" id="subBut2" ><span style=" color: #808080 ;padding: 15px 32px; text-decoration: none;font-size: 16px;display: block;float: center; ">Enter</span></button>
</div>
</form>
</div>
<script type="text/javascript">
$(function () {
$('input[name="rad1"]').on('click', function () {
$("#span4").text("");
var currentVal = $('#txtbox1').val();
var newVal = currentVal + $(this).val();
$('#txtbox1').val(newVal);
var abc=$(this).val();
$('<span class="closebtn chip" id="span2">'+abc+' ×</span>').appendTo('#span1');
$("#b11").toggle();
$("#b12").toggle();
});
});
$(function () {
$('input[name="rad2"]').on('click', function () {
var currentVal = $('#txtbox1').val();
var newVal = currentVal + $(this).val();
$('#txtbox1').val(newVal);
var abc=$(this).val();
$('<span class="closebtn chip" id="span3">'+abc+' ×</span>').appendTo('#span1');
$("#b12").toggle();
$("#b13").toggle();
});
});
$(function () {
$('input[name="rad3"]').on('click', function () {
var currentVal = $('#txtbox1').val();
var newVal = currentVal + $(this).val();
$('#txtbox1').val(newVal);
var abc=$(this).val();
$('<span class="closebtn chip" id="span3">'+abc+' ×</span>').appendTo('#span1');
$("#b13").toggle();
$("#b14").toggle();
});
});
$("#span1").click(function () {
$("#span1").css("display", "none");
location.reload();
});
$("#subBut1").click(function() {
$( "#form1" ).submit();
});
$("#subBut2").click(function() {
var currentVal = $('#txtbox1').val();
var newVal = currentVal + $(this).val();
$('#txtbox1').val(newVal);
var abc=$("#txtbox2").val();
$('<span class="closebtn chip" id="span3">'+abc+' ×</span>').appendTo('#span1');
});
</script>
</body>
</html>