JSFiddle - React, Tailwind, and code Playground
HTML
<!-- jDropDown menu -->
<ul id="jDropDown" class="blue">
<li class="home"><a href="index.html">Home</a></li>
<li class="drop"><a href="#">Travel</a>
<div class="column_1" style="margin-left: 4px;">
<div class="column">
<ul>
<li><a href="attractions.html">Attractions</a></li><br />
<li><a href="restaurants.html">Restaurants</a></li><br />
<li><a href="weekendactivities.html">Wedding Weekend Activities</a></li><br />
<li><a href="hotelcarbeauty.html">Hotel, Car, and Beauty</a></li><br />
</ul>
</div>
</div>
</li>
<li class="drop"><a href="#">Pictures</a>
<div class="column_1" style="margin-left: 4px;">
<div class="column">
<ul>
<li><a href="issacanddebora.html">Isaac and Dèbora</a></li><br />
<li><a href="thennow.html">Then and Now</a></li><br />
<li><a href="weddingparty.html">Wedding Party</a></li><br />
</ul>
</div>
</div>
</li>
<li class="home"><a href="registry.html">Registry</a></li>
<li class="home"><a href="contact.html">Contact</a></li>
</ul>
</div><!--End menu-->
CSS
/**
* Default color scheme
* --------------------
**/
/* Blue */
.blue {
background-image: none;
color: #009ddd;
}
ul.blue > li {
color: #009ddd;
line-height: 30px;
position: relative;
bottom: 5px;
}
ul#jDropDown a {
font: 18px/18px Gruppo, "Helvetica Neue", Arial;
position: relative;
bottom: 10px;
}
ul#jDropDown ul li a:hover {color:#0079B8;
}
/* first li have home class*/
ul#jDropDown > li > a {
font: 20px Gruppo, "Helvetica Neue", Arial;
color: #007fe4;
position: relative;
}
ul#jDropDown > li > a {
background-image: url(../images/downArrow.png);
background-repeat: no-repeat;
background-position: 2px 11px;
height: 40px;
position: relative;
top: 10px;
margin: 0px 5px 0px 5px;
padding: 4px 15px 4px 15px;
}
/* first li have home class*/
ul#jDropDown li.home img{
border: 0px;
}
ul#jDropDown > li > .on, ul#jDropDown > li > a:hover{
color: #fefffe;
padding-top: 15px;
height: 31px;
/* css3 */
-moz-border-radius: 2px 2px 0 0px;
border-radius: 2px 2px 0 0px;
background-image: none;
top: 9px;
}
ul#jDropDown > li.home a:hover, ul#jDropDown > li.home a {
background: none;
top: 13px;
padding-top: 0px;
}
/*
LEVEL ONE
*/
ul#jDropDown {
position: relative;
left: -10px;
height: 32px;
width: 583px;
background-color: rgba(255,254,255,0.32);
}
ul#jDropDown li {
zoom: 1;
color: #1a1918;
float: left;
}
ul#jDropDown li a {
display: block;
text-decoration: none;
color: #1a1918;
}
ul#jDropDown > li:last-child {
border-right: none;
}
/* Column */
.column_1, .column_2, .column_3, .column_4, .column_5 {
position: absolute;
top: 100%;
visibility: hidden;
margin-top: 4px;
background-color: rgba(255,255,255,0.7);
border-top: 0px;
width: 100px;
margin-left: 0;
left: 1px;
}
.column_1 {
width: 300px;
height: 150px;
}
ul#jDropDown .column {
float:...
JavaScript
<script type="text/javascript">
$(document).ready(function() {
$("ul#jDropDown").jDropDown({
'effect' : '',
'notMenu' : '.home', // exclude menu (.home in examples)
'duration' : {
'fadeIn' : 300,
'fadeOut' : 60,
'slideIn' : 300,
'slideOut' : 60
}
});
});
</script>