Welcome to designers dairy blog here i have post article how to design the drop down menus using
background color. here is the Html coding
Html Code:
download chrome.js file in below link:
<head>
<script type="text/javascript" src="js/chrome.js"></script>
</head>
<div id="menu_bg"><!--menu_bg div starts here-->
<div class="chromestyle" id="chromemenu">
<ul>
<li><a href="#" class="current">Home</a></li>
<li><a href="#" rel="dropmenu1">Pets </a>
<li><a href="#" rel="dropmenu2">Emergency </a></li>
<li><a href="#" rel="dropmenu3">NGO</a></li>
<li><a href="#" rel="dropmenu4"> Services and Products </a></li>
<li><a href="#"> Ads </a></li>
<li><a href="#"> News </a></li>
<li><a href="#"> Contact Us </a></li>
</ul>
</div>
<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="#">Dogs</a>
<a href="#">Cats Drive</a>
<a href="#">Fishes</a>
<a href="#">Horses</a>
<a href="#">Others</a>
</div>
<!--2nd drop down menu -->
<div id="dropmenu2" class="dropmenudiv" >
<a href="#">Hospitals</a>
<a href="#">Clinics</a>
<a href="#">Veterinary/Vet/Doctors </a>
<a href="#">Ambulance </a>
</div>
<!--3rd drop down menu -->
<div id="dropmenu3" class="dropmenudiv" >
<a href="#">Work</a>
<a href="#">Adopt</a>
<a href="#">Rescue</a>
</div>
<!--4rd drop down menu -->
<div id="dropmenu4" class="dropmenudiv" style="width: 210px;">
<a href="#">Shops</a>
<a href="#">Spa</a>
<a href="#">Trainers</a>
<a href="#">Books</a>
</div>
</div><!--menu_bg div ends here-->
<script type="text/javascript">
cssdropdown.startchrome("chromemenu")
</script>
background color. here is the Html coding
Html Code:
download chrome.js file in below link:
<head>
<script type="text/javascript" src="js/chrome.js"></script>
</head>
<div id="menu_bg"><!--menu_bg div starts here-->
<div class="chromestyle" id="chromemenu">
<ul>
<li><a href="#" class="current">Home</a></li>
<li><a href="#" rel="dropmenu1">Pets </a>
<li><a href="#" rel="dropmenu2">Emergency </a></li>
<li><a href="#" rel="dropmenu3">NGO</a></li>
<li><a href="#" rel="dropmenu4"> Services and Products </a></li>
<li><a href="#"> Ads </a></li>
<li><a href="#"> News </a></li>
<li><a href="#"> Contact Us </a></li>
</ul>
</div>
<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="#">Dogs</a>
<a href="#">Cats Drive</a>
<a href="#">Fishes</a>
<a href="#">Horses</a>
<a href="#">Others</a>
</div>
<!--2nd drop down menu -->
<div id="dropmenu2" class="dropmenudiv" >
<a href="#">Hospitals</a>
<a href="#">Clinics</a>
<a href="#">Veterinary/Vet/Doctors </a>
<a href="#">Ambulance </a>
</div>
<!--3rd drop down menu -->
<div id="dropmenu3" class="dropmenudiv" >
<a href="#">Work</a>
<a href="#">Adopt</a>
<a href="#">Rescue</a>
</div>
<!--4rd drop down menu -->
<div id="dropmenu4" class="dropmenudiv" style="width: 210px;">
<a href="#">Shops</a>
<a href="#">Spa</a>
<a href="#">Trainers</a>
<a href="#">Books</a>
</div>
</div><!--menu_bg div ends here-->
<script type="text/javascript">
cssdropdown.startchrome("chromemenu")
</script>
No comments:
Post a Comment