-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.jsp
190 lines (178 loc) · 7.17 KB
/
navbar.jsp
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
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="css/auto.css" rel="stylesheet">
<style>
div.fixed{
width: 100%;
color:white;
background-color:#aa66cc;
}
.b{
box-shadow: 0 0 0 0rem #aa66cc ;
}
body {
position: relative;
}
ul.nav-pills {
top:30%;
position: sticky;
}
ul.nav-pill.nav-stacked{
texcolor:purple;
}
.nav-pills > li > a:hover{
color: purple;
font-size:20px;
font-weight: bold;
background-color: white;
}
.nav-pills > li.active > a:hover{
color: white;
background-color: purple;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:focus {
color: white;
background-color: purple;
}
.nav-pills > li>a{
font-weight: bold;
color:black;
}
</style>
</head>
<body>
<div class="fixed">
<div class="row">
<div class="col-sm-2">
logo
</div>
<div class="col-sm-8">
<form autocomplete="off" action="" style="width: 100% ;background-color:#ffffff;">
<div class="input-group md-form form-sm form pl-0" style="height:40px">
<input class="form-control my-0 py-1 red-border font-weight-bold" type="text" id="search" placeholder="Search for food, resturant and more" aria-label="Search" style="font-size:14px;">
<div class="input-group-append" >
<span class="input-group-text #f5f5f5 lighten-3" id=""><i class="fa fa-search text-grey" aria-hidden="true" style="color:#1565c0"></i></span>
</div>
</div>
</form>
</div>
<div class="col-sm-2">
ads
</div>
</div>
<div class="row">
<div class="col-sm-2" style="font-size:20px;font-weight:bold">
Deliver To New delhi
</div>
<div class="col-sm-2">
</div>
<div class="col-sm-8">
<div class="row">
<div class="col-sm-2">
<!-- Basic dropdown -->
<div class="btn-group">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Basic dropdown</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
</div>
<div class="col-sm-2">
<a href="#" style="color:white">
<i class="fa fa-sign-in fa-2x" aria-hidden="true" style="color:white"></i>
Sign In
</a>
</div>
<div class="col-sm-2">
<a href="#" style="color:white">
<i class="fa fa-sign-in fa-2x" aria-hidden="true" style="color:white"></i>
Sign In
</a>
</div>
<div class="col-sm-2">
<a href="#" style="color:white">
<i class="fa fa-sign-in fa-2x" aria-hidden="true" style="color:white"></i>
Sign In
</a>
</div>
<div class="col-sm-2">
<a href="#" style="color:white">
<i class="fa fa-sign-in fa-2x" aria-hidden="true" style="color:white"></i>
Sign In
</a>
</div>
<div class="col-sm-2">
<!-- Basic dropdown -->
<div class="btn-group">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Basic dropdown</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<nav class="col-sm-3" id="myScrollspy" id="ok1">
<ul class="nav nav-pills nav-stacked" data-spy="affix" data-offset-top="205" style="width:100%;font-size:20px">
<li class="active" style="width:100%"><a href="#section1"><center><i class="fa fa-fire hg" aria-hidden="true"></i> Hit food</center></a></li>
<li style="width:100%"><a href="#section2" ><center><i class="fas fa-eraser" aria-hidden="true"></i> Deals on food</center></a></li>
<li style="width:100%"><a href="#section3"><center><i class="fa fa-truck" aria-hidden="true"></i> Free delivery</center></a></li>
<li style="width:100%"><a href="#section4"><center><i class="fa fa-leaf hg" aria-hidden="true"></i> Vege Mainia</center></a></li>
<li style="width:100%"><a href="#section5"><center><i class="fas fa-fish"aria-hidden="true"></i> Non Vege Mainia</center></a></li>
<li style="width:100%"><a href="#section6"><center><i class="far fa-grin-beam-sweat"aria-hidden="true"></i> Dude Food</center></a></li>
<li style="width:100%"><a href="#section7"><center><i class="fas fa-clipboard-check" aria-hidden="true"></i> See All</center></a></li>
</ul>
</nav>
<div class="col-sm-9" style="width:80%">
<div id="section1"><br>
<h1>Hit Food in ur Area</h1><br>
<%@ include file="popular.jsp"%>
</div>
<div id="section2"><br>
<h1>Hot Deals for today</h1><br>
<%@ include file="popular.jsp"%>
</div>
<div id="section3"><br>
<h1>Free of cost delivery to your door step.</h1><br>
<%@ include file="popular.jsp"%>
</div>
<div id="section4"><br>
<h1>Vegetarian special</h1><br>
<%@ include file="popular.jsp"%>
</div>
<div id="section5"><br>
<h1>Non Vegetarian Special</h1><br>
<%@ include file="popular.jsp"%>
</div>
<div id="section6"><br>
<h1>Pocket Friendly Khana</h1><br>
<%@ include file="popular.jsp"%>
</div>
<div id="section7"><br>
<h1>Sell all type of food</h1><br>
<%@ include file="popular.jsp"%>
</div>
</div>
</div>
</div>
</body>
</html>