The js+div+css dropdown navigation menus complete code

Recommended for you: Get network issues from WhatsUp Gold. Not end users.



The js+div+css dropdown navigation menus complete code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<title>Css+div+js drop-down menu navigation -- Ke Leyi</title>
<style type="text/css">
body{padding:0;margin:0;font-size:12px;color:#fff;font-family:arial, helvetica, sans-serif;background:#fff;}
#nav{padding:0 5px;z-index:1;left:298px;width:600px;position:absolute;top:175px;height:30px;}
#nav li{float:left;text-align:center;}
#nav li a{float:left;width:100px;color:#336601;text-decoration:none;padding:3px 5px 0 5px;}
#nav li a:hover{float:left;width:88px;color:#fff;background:#539d26;text-decoration:none;padding:3px 3px 0 20px;}
.menu1{border:#9cdd75 1px solid;overflow-y:hidden;margin:6px 4px 0px 0px;width:120px;cursor:pointer;color:#336601;padding-top:6px;background:#f1fbec;moz-opacity:0.7;filter:alpha(opacity=70);opacity:0.7;}
.menu2{border:#eee8dd 1px solid;overflow-y:hidden;margin:6px 4px 0px 0px;width:120px;cursor:pointer;color:#999;padding-top:6px;height:18px;background:#f5f5f5;}
<div id="nav">
<li onmouseout="this.className='menu2'" onmouseover="this.className='menu1'" class="menu2">Javascript
<div class="list">
<a href="" target="_blank">JS substring</a><br />
<a href="" target="_blank">The client code coloring</a><br />
<a href="" target="_blank">JS implementation code coloring</a><br />
<a href="" target="_blank">11 JS skills</a><br />
<a href="" target="_blank">Tab switching style</a><br />
<a href="" target="_blank">JS gets the visible width</a><br />
<a href="" target="_blank">JS navigation menu</a>
<li onmouseout="this.className='menu2'" onmouseover="this.className='menu1'" class="menu2">jQuery
<div class="list">
<a href="" target="_blank">Left pop div</a><br />
<a href="" target="_blank">JQuery modify a Tags</a><br />
<a href="" target="_blank">Plain text back to top</a><br />
<a href="" target="_blank">JQuery countdown</a><br />
<a href="" target="_blank">div(tab)Switching</a><br />
<a href="" target="_blank">Tab to switch</a><br />
<a href="" target="_blank">Single line text scroll</a><br />
<a href="" title="Scroll page DIV to reach the top is fixed at the top" target="_blank">DIV top fixed</a><br />
<a href="" title="Air bubbles suspended using jQuery UI modified title attribute frame" target="_blank">Modified Title Bubble</a>
<li onmouseout="this.className='menu2'" onmouseover="this.className='menu1'" class="menu2">C#
<div class="list">
<a href="" target="_blank">Delete the text blank line</a><br />
<a href="" target="_blank">Generated image verification code</a><br />
<a href="" title="The.NET generates a unique fixed length strings (8 case)" target="_blank">Generates a unique string</a><br />
<a href="" target="_blank">Write text to a file</a><br />
<a href="" target="_blank">IgnoreRoute ignored path</a><br />
<a href="" target="_blank">The RouteCollection class</a><br />
<a href="" target="_blank">Ke to image compression</a>
<li onmouseout="this.className='menu2'" onmouseover="this.className='menu1'" class="menu2">CMS
<div class="list"><a href="" target="_blank">KeleyiCMS update</a><br />
<a href="" target="_blank">Ke to message board paper</a>


This article reprinted from Ke to

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Rory at November 19, 2013 - 12:39 PM