Preview: menu.php
Size: 5.09 KB
/home/justbyquicklly-old/justbyquicklly/www/menu.php
<div class="topnav row" id="myTopnav">
<div class="col-md-4" >
<center><a href="/ready-to-eat-indian-meals/<?=MEALSID?>" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Ready To Eat Meals</a></center>
</div>
<div class="col-md-4">
<center><a href="<?=SITE_URL?>" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Home</a></center>
</div>
<div class="col-md-4">
<center><a href="/authentic-indian-samosas/<?=SAMOSA?>" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Samosas</a></center>
</div>
<!--<div class="col-md-4">
<!-- <center><a href="catering-products.php?id=4957" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Catering</a></center>
</div>-->
</div>
<div class="topnavMobile" id="myTopnavMobile" style="display:none;">
<a href="<?=SITE_URL?>" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Home</a>
<a href="/ready-to-eat-indian-meals/<?=MEALSID?>" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;border-top: solid 1px #af509d;
border-bottom: solid 1px #af509d;">Ready To Eat Meals</a>
<a href="/authentic-indian-samosas/<?=SAMOSA?>" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Samosas</a>
<!-- <a href="catering-products.php?id=4957" style="color:#fff; font: normal normal normal 16px/29px Karelle DEMO;">Catering</a>-->
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<style>
.subDp:hover {
background-color:rgb(255, 238, 198)!important;
color: #000!important;
}
.dropdown, .dropup {
position: inherit!important;
}
.topnav {
overflow: hidden;
background-color: #9d2f88;
}
.topnavMobile {
overflow: hidden;
background-color: #9d2f88;
height: 50px;
}
.topnav a {
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 14px;
text-decoration: none;
font-size: 17px;
}
.topnavMobile a {
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 14px;
text-decoration: none;
font-size: 17px;
}
.active {
}
.topnav .icon {
display: none;
}
.topnavMobile .icon {
display: none;
}
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 17px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #9d2f88;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.topnav a:hover, .dropdown:hover .dropbtn {
background-color: #9d2f88;
color: white;
}
.topnavMobile a:hover, .dropdown:hover .dropbtn {
background-color: #9d2f88;
color: white;
}
.dropdown-content a:hover {
background-color: #ddd;
color: black;
}
.dropdown:hover .dropdown-content {
display: block;
}
@media screen and (max-width: 600px) {
.topnav a:not(:first-child), .dropdown .dropbtn {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
.topnavMobile a:not(:first-child), .dropdown .dropbtn {
display: none;
}
.topnavMobile a.icon {
float: right;
display: block;
position: relative;
top: -56px;
}
.topnavMobile a {
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 14px;
text-decoration: none;
font-size: 17px;
}
.carousel-indicators {
position: absolute;
bottom: -6px!important;
left: 50%;
z-index: 15;
width: 70%;
padding-left: 0;
margin-left: -34%;
text-align: center;
list-style: none;
}
}
@media screen and (max-width: 600px) {
#myTopnav{display:none;}
#myTopnavMobile{display: block !important;}
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
.topnav.responsive .dropdown {float: none;}
.topnav.responsive .dropdown-content {position: relative;}
.topnav.responsive .dropdown .dropbtn {
display: block;
width: 100%;
text-align: left;
}
.topnavMobile.responsive {position: relative; height:175px;}
.topnavMobile.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnavMobile.responsive a {
float: none;
display: block;
text-align: center;
}
.topnavMobile.responsive .dropdown {float: none;}
.topnavMobile.responsive .dropdown-content {position: relative;}
.topnavMobile.responsive .dropdown .dropbtn {
display: block;
width: 100%;
text-align: left;
}
}
</style>
<script>
function myFunction() {
var x = document.getElementById("myTopnavMobile");
if (x.className === "topnavMobile") {
x.className += " responsive";
} else {
x.className = "topnavMobile";
}
}
function openSubMenu()
{
// alert('ok');
$(".subCatMenu").toggle();
}
</script>
Directory Contents
Dirs: 12 × Files: 58