-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomQuote.html
More file actions
398 lines (312 loc) · 15.6 KB
/
CustomQuote.html
File metadata and controls
398 lines (312 loc) · 15.6 KB
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<title>Home Equity Lending</title>
<title>Collapsible sidebar using Bootstrap 4</title>
<!-- Our Custom CSS -->
<link href="css/style.css" rel="stylesheet">
<!-- Font Awesome JS -->
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/solid.js" integrity="sha384-tzzSw1/Vo+0N5UhStP3bvwWPq+uvzCMfrN1fEFe+xBmv1C/AtVX5K0uZtmcHitFZ" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/fontawesome.js" integrity="sha384-6OIrr52G08NpOFSZdxxz1xdNSndlD4vdcf/q2myIUVO0VsqaGHJsB0RaBE01VTOY" crossorigin="anonymous"></script>
<style>
.custom-centered{
margin:0 auto;
width:300px;
}
.btn-space {
margin-left: 25px;
}
.breadcrumb-item + .breadcrumb-item::before {
content: ">";
color:cornflowerblue
}
.slidecontainer {
width: 100%;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 25px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
background: blue;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
background: blue;
cursor: pointer;
}
</style>
<script>
function storeValues() {
var zipcode = document.getElementById("zipcode");
var propertyvalue = document.getElementById("propertyvalue");
var creditScoreSelector = document.getElementById("creditscore");
var creditscore = creditScoreSelector.options[creditScoreSelector.selectedIndex].text;
var propertyTypeSelector = document.getElementById("propertytype");
var propertyType = propertyTypeSelector.options[propertyTypeSelector.selectedIndex].text;
var autoDebitCheck = document.getElementById("autoDebit").checked;
var relationshipDiscountCheck = document.getElementById("relationshipDiscount").checked;
var firstMortgageCheck = document.getElementById("firstMortgage").checked;
var mortgageBalance = document.getElementById("mortgageBalance");
var secondMortgageCheck = document.getElementById("secondMortgage").checked;
var secondMortgageBalance = document.getElementById("secondMortgageBalance");
sessionStorage.setItem("autoDebitCheck", autoDebitCheck);
sessionStorage.setItem("relationshipDiscountCheck", relationshipDiscountCheck);
sessionStorage.setItem("firstMortgageCheck", firstMortgageCheck);
sessionStorage.setItem("mortgageBalance", mortgageBalance.value);
sessionStorage.setItem("secondMortgageCheck", secondMortgageCheck);
sessionStorage.setItem("secondMortgageBalance", secondMortgageBalance.value);
sessionStorage.setItem("zipcode", zipcode.value);
sessionStorage.setItem("propertyvalue", propertyvalue.value);
sessionStorage.setItem("creditscore", creditscore);
sessionStorage.setItem("propertyType", propertyType);
buildLoanCriteriaObject();
window.location.assign("CustomQuote.html")
}
function buildLoanCriteriaObject() {
theObj = {
loanAmount: sessionStorage.getItem("loanAmount"),
autoDebitCheck: sessionStorage.getItem("autoDebitCheck"),
relationshipDiscountCheck: sessionStorage.getItem("relationshipDiscountCheck"),
firstMortgageCheck: sessionStorage.getItem("firstMortgageCheck"),
mortgageBalance: sessionStorage.getItem("mortgageBalance"),
secondMortgageCheck: sessionStorage.getItem("secondMortgageCheck"),
secondMortgageBalance: sessionStorage.getItem("secondMortgageBalance"),
zipcode: sessionStorage.getItem("zipcode"),
propertyvalue: sessionStorage.getItem("propertyvalue"),
creditscore: sessionStorage.getItem("creditscore"),
propertyType: sessionStorage.getItem("propertyType")
};
theJSON = JSON.stringify(theObj)
sessionStorage.setItem("loanCriteria", theJSON);
}
</script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light border-bottom" style="background-color:#0079c1;">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<a class="nav-link" style="color:ghostwhite" href="https://www.bmoharris.com/main/personal">Personal <span class="sr-only">(current)</span></a>
<a class="nav-link" style="color:ghostwhite" href="https://www.bmoharris.com/main/business-banking/">Wealth</a>
<a class="nav-link" style="color:ghostwhite" href="https://www.bmoharris.com/main/business-banking/">Business</a>
<a class="nav-link" style="color:ghostwhite" href="https://www.bmoharris.com/main/business-banking/">Commercial</a>
<a class="nav-link" style="color:ghostwhite" href="https://www.bmoharris.com/main/business-banking/">Capital Markets</a>
</div>
</nav>
<img src="BankABCLogo.png" alt="" height="100" >
<nav aria-label="breadcrumb">
<ol class="breadcrumb" style="background-color: white;">
<li class="breadcrumb-item"><a href="https://www.bmoharris.com/main/personal"><small>Personal</small></a></li>
<li class="breadcrumb-item"><a href="https://www.bmoharris.com/main/personal/loans-and-lines-of-credit"><small>Loans and Lines of Credit</small></a></li>
<li class="breadcrumb-item"><a href="https://www.bmoharris.com/main/personal/loans-and-lines-of-credit/home-equity-line-of-credit"><small>Home Equity Line of Credit</small></a></li>
<li class="breadcrumb-item active" aria-current="page"><small>Custom Quote</small></li>
</ol>
</nav>
<div class="wrapper">
<!-- Sidebar -->
<nav id="sidebar" class="bg-light">
<div class="sidebar-header" style="color: gray">
<h5 class="display-5" style="text-align: center">Your Loan Info</h5>
</div>
<ul class="list-unstyled components">
<div class="form-group btn-space">
<small class="text-muted">ZIP Code:</small>
<input type="text" style="width: 200px" class="form-control" id="zipcodeSB">
</div>
<div class="form-group btn-space">
<small class="text-muted">Property Type:</small>
<select class="custom-select" style="width: 200px" id="propertytypeSB" required>
<option value="primary">Primary Residence</option>
<option value="investment">Investment Property</option>
<option value="secondHome">Second Home</option>
</select>
</div>
<div class="form-group btn-space">
<small class="text-muted">Credit Score:</small>
<select class="custom-select" style="width: 200px" id="creditscoreSB" required>
<option value="1">780+</option>
<option value="2">740-799</option>
<option value="3">700-739</option>
<option value="4">650-699</option>
<option value="5">Exception below 650</option>
</select>
</div>
<div class="form-group btn-space">
<small class="text-muted">Estimated Home Value:</small>
<input type="text" style="width: 200px" class="form-control" id="propertyvalueSB">
</div>
<div class="form-group btn-space">
<small class="text-muted">First Mortgage Balance:</small>
<input type="text" style="width: 200px" class="form-control" id="firstMortgageBalSB"><br>
</div>
<div class="form-group btn-space">
<small class="text-muted">Second Mortgage Balance:</small>
<input type="text" style="width: 200px" class="form-control" id="secondMortgageBalSB"><br>
</div>
</ul>
<ul class="list-unstyled CTAs">
<li>
<a href="https://bootstrapious.com/p/bootstrap-sidebar" class="article">Update</a>
</li>
</ul>
</nav>
<!-- Page Content -->
<div id="page-content-wrapper">
<button type="button" id="sidebarCollapse" class="btn btn-primary btn-space">
<i class="fas fa-align-left"></i>
<span>Toggle Loan Info</span>
</button><br><br>
<div class="container-fluid">
<!--Standard Option-->
<div class="card-deck mb-3 text-center">
<div class="card mb-4 shadow-lg">
<div class="card-header">
<h6 class="title"><b>Home Equity Line of Credit</b></h6>
</div>
<div class="card-body">
<ul class="list-unstyled mt-3 mb-4">
<div class="card-text text-muted" style="height: 100px;"><small>With a HELOC, you only pay interest on what you actually borrow. Plus, you have the flexibility to lock in all or part of your line at a fixed rate with a fixed payment.</small></div>
<div class="alignright"><b>Avaliable amount: $<span id="avaliable1">100,000</span></b></div>
<div class="alignright"><b>Borrowed amount: $112,000</b></div>
<br>
<div class="row">
<div class="col">
<li>Variable</li><br>
<li><small class="text-muted">Rate as low as</small></li>
<li><p id="apr1a"/><b>5.56% APR</b></li>
<br>
<li><small class="text-muted">Payment</small></li>
<li><p id="payment1a"/><b>$351.79</b></li>
</div>
<span class="border-left"></span>
<div class="col">
<li>Fixed</li><br>
<li><small class="text-muted">Rate as low as</small></li>
<li><p id="apr2a"/><b>6.09% APR</b></li>
<br>
<li><small class="text-muted">Payment</small></li>
<li><p id="payment2a"/><b>$541.79</b></li>
</div>
</div>
</ul>
<button type="button" class="btn btn-lg btn-block btn-outline-primary"
onClick="parent.location='https://homelending.bmoharris.com/#/milestones?app_source=BMODigital&loanType=HELOAN'" >Apply Now</button>
</div>
</div>
<!--Recommended Option-->
<div class="card mb-4 shadow-lg">
<div class="card-header">
<h6 class="title"><b>Home Equity Line of Credit</b></h6>
</div>
<div class="card-body">
<ul class="list-unstyled mt-3 mb-4">
<div class="card-text text-muted" style="height: 100px;"><small>With a HELOC, you only pay interest on what you actually borrow. Plus, you have the flexibility to lock in all or part of your line at a fixed rate with a fixed payment.</small></div>
<div class="alignright"><b>Avaliable amount: $100,000</b></div>
<div class="alignright"><b>Borrowed amount: $<span id="avaliable2" /></b></div>
<br>
<div class="row">
<div class="col">
<li>Variable</li><br>
<li><small class="text-muted">Rate as low as</small></li>
<li><p id="apr1b"/><b>4.56% APR</b></li>
<br>
<li><small class="text-muted">Payment</small></li>
<li><p id="payment1b"/><b>$532.79</b></li>
</div>
<span class="border-left"></span>
<div class="col">
<li>Fixed</li><br>
<li><small class="text-muted">Rate as low as</small></li>
<li><p id="apr2b" /><b>5.06% APR</b></li>
<br>
<li><small class="text-muted">Payment</small></li>
<li><p id="payment2b" /><b>$826.89</b></li>
</div>
</div>
</ul>
<button type="button" class="btn btn-lg btn-block btn-primary"
onClick="parent.location='https://homelending.bmoharris.com/#/milestones?app_source=BMODigital&loanType=HELOAN'">Apply Now</button>
</div>
</div>
<!--Heloan Option-->
<div class="card mb-4 shadow-lg">
<div class="card-header">
<h6 class="title"><b>Home Equity Loan</b></h6>
</div>
<div class="card-body">
<ul class="list-unstyled mt-3 mb-4">
<div class="card-text text-muted" style="height: 100px;"><small>With a home equity loan, you borrow all of your funds upfront at a fixed rate and term. Your payments will stay the same for the life of your loan.</small></div>
<div class="alignright"><b>Loan amount: $100,000</b></div>
<div class="alignright"><b><br></b></div>
<br>
<div class="row">
<div class="col">
<li>Fixed</li><br>
<li><small class="text-muted">Rate as low as</small></li>
<li><p id="apr1c"/><b>5.06% APR</b></li>
<br>
<li><small class="text-muted">Payment</small></li>
<li><p id="payment2b"/><b>$826.89</b></li>
</div>
</div>
</ul>
<button type="button" class="btn btn-lg btn-block btn-outline-primary"
onClick="parent.location='https://homelending.bmoharris.com/#/milestones?app_source=BMODigital&loanType=HELOAN'" >Apply Now</button>
</div>
</div>
</div>
</div> <!--container fluid-->
<footer class="pt-4 my-md-5 pt-md-5 border-top" style="padding-left: 50px; padding-right:50px;">
<a onclick="myFunction()" href="#">Loan assumptions and disclosures (+)</a>
<div id="disclose" style="display: none;">
<div class="disclosures" id="disclosures-heloan">
<h5>Loan assumptions and disclosures</h5>
</div>
</div>
<div class="row">
<div class="col">
<img class="mb-2" src="footer.png" alt="" width="50" height="50">
<small class="d-block mb-3 text-muted">© 2017-2020</small>
</div>
</div>
</footer>
</div> <!--page content wrapper-->
</div> <!--wrapper-->
<!-- jQuery CDN - Slim version (=without AJAX) -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<!-- Popper.JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<!-- Bootstrap JS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
});
</script>
</body>
</html>