-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (97 loc) · 3.85 KB
/
index.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
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Embedded Iframe Example</title>
<meta name="description" content="POC for the Litle based">
<meta name="author" content="Team Unisaurus Rex">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Browser Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<!-- Use this style so we don't need t worry auto-detecting height -->
<style>
#payframe {
position: relative;
height: 250px;
max-width: 100%;
overflow: hidden;
}
iframe[id="vantiv-payframe"] {
height: 100%;
position: absolute;
top: 0;
left: 0;
width: 100%;
border: none;
}
body {
padding-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<h1>Embedded Iframe Demo</h1>
<form>
<div class="row">
<div class="one-third column">
<label for="first">First Name</label>
<input id="first" type="text">
</div>
<div class="two-thirds column">
<label for="last">Last Name</label>
<input id="last" type="text">
</div>
</div> <!-- End row -->
<div class="row">
<div class="two-thirds column">
<label for="address">Address</label>
<input id="address" type="text">
</div>
<div class="column"></div>
</div>
<div class="row">
<div class="one-third column">
<label for="city">City</label>
<input id="city" type="text">
</div>
<div class="one-third column">
<label for="state">State</label>
<input id="state" type="text">
</div>
<div class="one-third column">
<label for="zip">Zip</label>
<input id="zip" type="text">
</div>
</div> <!-- End row -->
<div class="row">
<div id="payframe" class="column"></div>
</div>
<div class="row">
<div class="column one-third">
<button id="getRegId" type="button" class="button-primary">Get Registration ID</button>
</div>
<div class="column one-third">
<button id="emptyInputs" type="button" class="button-primary">Check for Empty Inputs</button>
</div>
</div>
</form>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/payframe-client.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>