Label Posts

Website bawlna

AD (728x90)

Thursday, February 5, 2015

Mega Drop Down

Share it Please
<style> ul.ldd_menu {
    margin0px;
    padding0;
    displayblock;
    height50px;
    background-color#D04528;
    list-stylenone;
    font-family"Trebuchet MS"sans-serif;
    border-top1px solid #EF593B;
    border-bottom1px solid #EF593B;
    border-left10px solid #D04528;
    -moz-box-shadow: 0px 3px 4px #591E12;
    -webkit-box-shadow: 0px 3px 4px #591E12;
    -box-shadow: 0px 3px 4px #591E12;
}
 
ul.ldd_menu a {
    text-decorationnone;
}
 
ul.ldd_menu > li {
    floatleft;
    positionrelative;
}
 
ul.ldd_menu > li > span {
    floatleft;
    color#fff;
    background-color#D04528;
    height50px;
    line-height50px;
    cursordefault;
    padding0px 20px;
    text-shadow0px 0px 1px #fff;
    border-right1px solid #DF7B61;
    border-left1px solid #C44D37;
}
 
ul.ldd_menu .ldd_submenu {
    positionabsolute;
    top50px;
    width550px;
    displaynone;
    opacity: 0.95;
    left0px;
    font-size10px;
    background#C34328;
    border-top1px solid #EF593B;
    -moz-box-shadow: 0px 3px 4px #591E12 inset;
    -webkit-box-shadow: 0px 3px 4px #591E12 inset;
    -box-shadow: 0px 3px 4px #591E12 inset;
}
 
a.ldd_subfoot {
    background-color#f0f0f0;
    color#444;
    displayblock;
    clearboth;
    padding15px 20px;
    text-transformuppercase;
    font-familyArialserif;
    font-size12px;
    text-shadow0px 0px 1px #fff;
    -moz-box-shadow: 0px 0px 2px #777 inset;
    -webkit-box-shadow: 0px 0px 2px #777 inset;
    -box-shadow: 0px 0px 2px #777 inset;
}
 
ul.ldd_menu ul {
    list-stylenone;
    floatleft;
    border-left1px solid #DF7B61;
    margin20px 0px 10px 30px;
    padding10px;
}
 
li.ldd_heading {
    font-family: Georgia, serif;
    font-size13px;
    font-styleitalic;
    color#FFB39F;
    text-shadow0px 0px 1px #B03E23;
    padding0px 0px 10px 0px;
}
 
ul.ldd_menu ul li a {
    font-familyArialserif;
    font-size10px;
    line-height20px;
    color#fff;
    padding1px 3px;
}
 
ul.ldd_menu ul li a:hover {
    -moz-box-shadow: 0px 0px 2px #333;
    -webkit-box-shadow: 0px 0px 2px #333;
    box-shadow: 0px 0px 2px #333;
    background#AF412B;
} </style> 
 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
    $(function () {
        /**
         * the menu
         */
        var $menu = $('#ldd_menu');
 
        /**
         * for each list element,
         * we show the submenu when hovering and
         * expand the span element (title) to 510px
         */
        $menu.children('li').each(function () {
            var $this = $(this);
            var $span = $this.children('span');
            $span.data('width', $span.width());
 
            $this.bind('mouseenter', function () {
                $menu.find('.ldd_submenu').stop(true, true).hide();
                $span.stop().animate({
                    'width''510px'
                }, 300, function () {
                    $this.find('.ldd_submenu').slideDown(300);
                });
            }).bind('mouseleave', function () {
                $this.find('.ldd_submenu').stop(true, true).hide();
                $span.stop().animate({
                    'width': $span.data('width') + 'px'
                }, 300);
            });
        });
    });
</script>
 
<ul id="ldd_menu" class="ldd_menu">
 <li>
 <span>Vacations</span>
 <!-- Increases to 510px in width-->
 <div class="ldd_submenu">
  <ul>
   <li class="ldd_heading">By Location</li>
   <li><a href="#">South America</a></li>
   <li><a href="#">Antartica</a></li>
   <li><a href="#">Africa</a></li>
   <li><a href="#">Asia and Australia</a></li>
   <li><a href="#">Europe</a></li>
  </ul>
  <ul>
   <li class="ldd_heading">By Category</li>
   <li><a href="#">Sun &amp; Beach</a></li>
   <li><a href="#">Adventure</a></li>
   <li><a href="#">Science &amp; Education</a></li>
   <li><a href="#">Extreme Sports</a></li>
   <li><a href="#">Relaxing</a></li>
   <li><a href="#">Spa and Wellness</a></li>
  </ul>
  <ul>
   <li class="ldd_heading">By Theme</li>
   <li><a href="#">Paradise Islands</a></li>
   <li><a href="#">Cruises &amp; Boat Trips</a></li>
   <li><a href="#">Wild Animals &amp; Safaris</a></li>
   <li><a href="#">Nature Pure</a></li>
   <li><a href="#">Helping others &amp; For Hope</a></li>
   <li><a href="#">Diving</a></li>
  </ul>
  <a class="ldd_subfoot" href="#"> + New Deals</a>
 </div>
 </li>
 <li>
 <span>Equipment</span>
 <div class="ldd_submenu">
  <ul>
   <li class="ldd_heading">By Location</li>
   <li><a href="#">South America</a></li>
   <li><a href="#">Antartica</a></li>
   <li><a href="#">Africa</a></li>
   <li><a href="#">Asia and Australia</a></li>
   <li><a href="#">Europe</a></li>
  </ul>
  <ul>
   <li class="ldd_heading">By Category</li>
   <li><a href="#">Sun &amp; Beach</a></li>
   <li><a href="#">Adventure</a></li>
   <li><a href="#">Science &amp; Education</a></li>
   <li><a href="#">Extreme Sports</a></li>
   <li><a href="#">Relaxing</a></li>
   <li><a href="#">Spa and Wellness</a></li>
  </ul>
  <ul>
   <li class="ldd_heading">By Theme</li>
   <li><a href="#">Paradise Islands</a></li>
   <li><a href="#">Cruises &amp; Boat Trips</a></li>
   <li><a href="#">Wild Animals &amp; Safaris</a></li>
   <li><a href="#">Nature Pure</a></li>
   <li><a href="#">Helping others &amp; For Hope</a></li>
   <li><a href="#">Diving</a></li>
  </ul>
  <a class="ldd_subfoot" href="#"> + New Deals</a>
 </div>
 </li>
 <li>
 <span>Locations</span>
 <div class="ldd_submenu">
  <ul>
   <li class="ldd_heading">By Location</li>
   <li><a href="#">South America</a></li>
   <li><a href="#">Antartica</a></li>
   <li><a href="#">Africa</a></li>
   <li><a href="#">Asia and Australia</a></li>
   <li><a href="#">Europe</a></li>
  </ul>
  <ul>
   <li class="ldd_heading">By Category</li>
   <li><a href="#">Sun &amp; Beach</a></li>
   <li><a href="#">Adventure</a></li>
   <li><a href="#">Science &amp; Education</a></li>
   <li><a href="#">Extreme Sports</a></li>
   <li><a href="#">Relaxing</a></li>
   <li><a href="#">Spa and Wellness</a></li>
  </ul>
  <ul>
   <li class="ldd_heading">By Theme</li>
   <li><a href="#">Paradise Islands</a></li>
   <li><a href="#">Cruises &amp; Boat Trips</a></li>
   <li><a href="#">Wild Animals &amp; Safaris</a></li>
   <li><a href="#">Nature Pure</a></li>
   <li><a href="#">Helping others &amp; For Hope</a></li>
   <li><a href="#">Diving</a></li>
  </ul>
  <a class="ldd_subfoot" href="#"> + New Deals</a>
 </div>
 </li>
</ul>

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

© 2013 khenno. All rights resevered. Designed by