-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathway.html
123 lines (103 loc) · 3.58 KB
/
way.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<script src="https://github.com/bassjobsen/Bootstrap-3-Typeahead/blob/master/bootstrap3-typeahead.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="video"><iframe class="embed-responsive-item" src="http://oltkmeczv.bkt.clouddn.com/vid1.mp4" frameborder="0" allowfullscreen></iframe></div>
</div>
<div class="col-md-4">
<div class="video"><iframe class="embed-responsive-item" src="http://oltkmeczv.bkt.clouddn.com/vid2.mp4" frameborder="0" allowfullscreen></iframe></div>
</div>
<div class="col-md-4">
<div class="video"><iframe class="embed-responsive-item" src="http://oltkmeczv.bkt.clouddn.com/vid3.mp4" frameborder="0" allowfullscreen></iframe></div>
</div>
</div>
<div class="main">
<div class="box">
<img src="pic/scene1.jpg" />
<div class="overlay">
</div>
<a class="more"> href="#name">More reading</a>
</div>
<div class="box">
<img src="pic/scene2.jpg" />
<div class="overlay">
</div>
<a href="#">More reading</a>
</div>
<div class="box">
<img src="pic/scene3.jpg" />
<div class="overlay">
</div>
<a href="#">More reading</a>
</div>
<div class="box">
<img src="pic/scene4.jpg" />
<div class="overlay">
</div>
<a href="#">More reading</a>
</div>
<div class="box">
<img src="pic/scene5.jpg" />
<div class="overlay">
</div>
<a href="#">More reading</a>
</div>
<div class="box">
<img src="pic/scene6.jpg" />
<div class="overlay">
</div>
<a href="#">More reading</a>
</div>
</div>
</div>
<div class="form-group">
<label for="usr">Name:</label>
<input type="text" class="form-control" id="usr">
<input type="text" data-provide="typeahead">
</div>
<script type="text/javascript">
var $input = $(".typeahead");
$input.typeahead({
source: [
{id: "someId1", name: "Display name 1"},
{id: "someId2", name: "Display name 2"}
],
autoSelect: true
});
$input.change(function() {
var current = $input.typeahead("getActive");
if (current) {
// Some item from your model is active!
if (current.name == $input.val()) {
// This means the exact match is found. Use toLowerCase() if you want case insensitive match.
} else {
// This means it is only a partial match, you can either add a new item
// or take the active if you don't want new items
}
} else {
// Nothing is active so it is a new value (or maybe empty value)
}
});
</script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="assets/js/bootstrap.min.js"></script>
</body>
</html>