"Restaurant menu with images"
Bootstrap 3.3.0 Snippet by Harut

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container-fluid">
<div id="custom_carousel" class="carousel slide" data-ride="carousel" data-interval="0">
<div class="controls">
<ul class="nav">
<li data-target="#custom_carousel" data-slide-to="0" class="active"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/breakfast.png"><small>ՆԱԽՈՒՏԵՍՏՆԵՐ</small></a></li>
<li data-target="#custom_carousel" data-slide-to="1"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/salads.png"><small>ԱՂՑԱՆՆԵՐ</small></a></li>
<li data-target="#custom_carousel" data-slide-to="2"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/soups.png"><small>ԱՊՈՒՐՆԵՐ</small></a></li>
<li data-target="#custom_carousel" data-slide-to="3"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/pizza.png"><small>ՊԻՑՑԱ</small></a></li>
<li data-target="#custom_carousel" data-slide-to="4"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/lunch.png"><small>ԱՌԱՋԻՆ </small></a></li>
<li data-target="#custom_carousel" data-slide-to="5"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/pasta.png"><small>ՊԱՍՏԱ</small></a></li>
<li data-target="#custom_carousel" data-slide-to="6"><a href="#"><img src="https://bufiles.blob.core.windows.net/co3617/menu_icons/maincourses.png"><small>ԵՐԿՐՈՐԴ</small></a></li>
</ul>
</div>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<div class="container-fluid">
<div class="row">
<div class="col-md-3"><img src="http://placehold.it/350x100" class="img-responsive"></div>
<div class="col-md-9">
<h2>Իտալական երշիկ և խոզապուխտ</h2>
<p>5.500 AMD</p>
</div>
</div>
<div class="row">
<div class="col-md-3"><img src="http://placehold.it/350x100" class="img-responsive"></div>
<div class="col-md-9">
<h2>Իտալական պանրի տեսականի</h2>
<p>6.000 AMD</p>
</div>
</div>
<div class="row">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
#custom_carousel .controls a small {
font-size: 1em !important;
}
#menu {
font-family: serif;
}
.carousel-inner {
overflow: visible;
}
#custom_carousel .item {
height: auto;
color:#000;
background-color:#f1f1f1;
padding: 10px 0 ;
overflow: visible;
}
#custom_carousel .controls{
overflow-x: visible;
overflow-y: visible;
padding:0;
margin:0;
white-space: nowrap;
text-align: center;
position: relative;
background:#ddd
}
#custom_carousel .controls li {
display: table-cell;
width: 1%;
max-width:90px
}
#custom_carousel .controls li.active {
background-color:#eee;
border-top:2px solid #ac1114;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
$(document).ready(function(ev){
$('#custom_carousel').on('slide.bs.carousel', function (evt) {
$('#custom_carousel .controls li.active').removeClass('active');
$('#custom_carousel .controls li:eq('+$(evt.relatedTarget).index()+')').addClass('active');
})
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: