-
Notifications
You must be signed in to change notification settings - Fork 0
/
neof.htm
executable file
·134 lines (86 loc) · 4.58 KB
/
neof.htm
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang=en>
<head>
<title>Neoforma</title>
<meta http-equiv="content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<br /> <br />
<p align="center">
<img id="logo-img" src="images/logo.svg" alt="Dunning Marketing Labs" style="height:60px;margin:0 auto">
</p>
<hr />
<div class="gallery">
<div class="row">
<div class="col-xs-4 col-sm-3">
<img src="neof/images/fortune-1.jpg" alt="" data-toggle="modal" data-bigimage="neof/images/fortune-1.jpg" data-target="#myModal"
class="img-fluid" style="cursor:pointer;border:2px solid #888"><br /><br />
</div>
<div class="col-xs-4 col-sm-3">
<img src="neof/images/fortune-2.jpg" alt="" data-toggle="modal" data-bigimage="neof/images/fortune-2.jpg" data-target="#myModal"
class="img-fluid" style="cursor:pointer;border:2px solid #888"><br /><br />
</div>
<div class="col-xs-4 col-sm-3">
<img src="neof/images/fortune-3.jpg" alt="" data-toggle="modal" data-bigimage="neof/images/fortune-3.jpg" data-target="#myModal"
class="img-fluid" style="cursor:pointer;border:2px solid #888"><br /><br />
</div>
<div class="col-xs-4 col-sm-3">
<img src="neof/images/fortune-4.jpg" alt="" data-toggle="modal" data-bigimage="neof/images/fortune-4.jpg" data-target="#myModal"
class="img-fluid" style="cursor:pointer;border:2px solid #888"><br /><br />
</div>
<div class="col-xs-4 col-sm-3">
<img src="neof/images/fortune-5.jpg" alt="" data-toggle="modal" data-bigimage="neof/images/fortune-5.jpg" data-target="#myModal"
class="img-fluid" style="cursor:pointer;border:2px solid #888"><br /><br />
</div>
<div class="col-xs-4 col-sm-3">
<img src="neof/images/fortune-6.jpg" alt="" data-toggle="modal" data-bigimage="neof/images/fortune-6.jpg" data-target="#myModal"
class="img-fluid" style="cursor:pointer;border:2px solid #888"><br /><br />
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-body">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<img src="http://media.tenor.com/images/556e9ff845b7dd0c62dcdbbb00babb4b/tenor.gif" alt="" id="image" class="img-fluid">
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function () {
// Gets the video src from the data-src on each button
var $imageSrc;
$('.gallery img').click(function () {
$imageSrc = $(this).data('bigimage');
});
console.log($imageSrc);
// when the modal is opened autoplay it
$('#myModal').on('shown.bs.modal', function (e) {
// set the video src to autoplay and not to show related video. Youtube related video is like a box of chocolates... you never know what you're gonna get
$("#image").attr('src', $imageSrc);
})
// reset the modal image
$('#myModal').on('hide.bs.modal', function (e) {
// a poor man's stop video
$("#image").attr('src', '');
})
// document ready
});
</script>
</body>
</html>