提示:您可以先修改部分代碼再運行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>dropline-水平三級橫向快顯功能表</title><style type="text/css">/* common styling */.menu {font-family: arial, sans-serif; width:749px; height:30px; position:relative; margin:0; font-size:11px; margin:50px 0; background:#fff; position:relative;}.menu ul {padding:0; margin:0; list-style-type: none;}.menu ul li {float:left; border-left:1px solid #eee; width:106px;}.menu ul li a, .menu ul li a:visited {display:block; float:left; width:101px; text-decoration:none; padding:0 0 0 5px; height:30px; line-height:30px; color:#000; background:#c9c9a7 url(../../graphics/drop.gif) bottom right no-repeat;}.menu ul li ul {display: none;}/* specific to non IE browsers */.menu ul li:hover a {color:#fff; background:#b3ab79;}.menu ul li:hover ul {display:block; position:absolute; width:749px; top:30px; left:0; background:#b3ab79; color:#fff;}.menu ul li:hover ul.right_side li {float:right; border:0; border-left:1px solid #eee;}.menu ul li:hover ul.left_side li {float:left; border:0; border-left:1px solid #eee;}.menu ul li:hover ul li a.hide {background:#bd8d5e url(../../graphics/drop2.gif) bottom right no-repeat; color:#fff;}.menu ul li:hover ul li:hover a.hide {background:#b3ab79; color:#fff;}.menu ul li:hover ul li ul {display: none;}.menu ul li:hover ul li a {display:block; background:##b3ab79; color:#fff;}.menu ul li:hover ul li a:hover {background:#dfc184; color:#000;}.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:0; top:30px; color:#000; background:#dfc184;}.menu ul li:hover ul.right li {float:right;}.menu ul li:hover ul li:hover a.hide {background:#dfc184; color:#000;}.menu ul li:hover ul li:hover ul li a {background:#dfc184; color:#000;}.menu ul li:hover ul li:hover ul li a:hover {background:#bd8d5e; color:#fff;}</style><!--[if lte IE 6]><style type="text/css">table {border-collapse:collapse; margin:0; padding:0;}.menu ul li a.hide, .menu ul li a:visited.hide {display:none;}.menu ul li a:hover ul li a.hide {display:none;}.menu ul li a, .menu ul li a:visited {background:#c9c9a7 url(../../graphics/drop.gif) 20px right no-repeat;}.menu ul li a:hover {color:#fff; background:#b3ab79;}.menu ul li a:hover ul {display:block; position:absolute; width:749px; top:30px; left:0; background:#b3ab79; color:#fff;}.menu ul li a:hover ul.right_side li {float:right; border-width:0 1px 0 0 0;}.menu ul li a:hover ul.left_side li {float:left;}.menu ul li a:hover ul li a.sub {background:#bd8d5e url(../../graphics/drop2.gif) 20px right no-repeat; color:#fff;}.menu ul li a:hover ul li a {display:block; background:#b3ab79; color:#fff;}.menu ul li a:hover ul li a ul {visibility:hidden;}.menu ul li a:hover ul li a:hover {background:#dfc184; color:#000;}.menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:0; top:30px; color:#000; background:#dfc184;}.menu ul li a:hover ul li a:hover ul li a {background:#dfc184; color:#000;}.menu ul li a:hover ul li a:hover ul li a:hover {background:#bd8d5e; color:#fff;}</style><![endif]--></head><body><div class="menu"><ul><li>DEMOS<!--[if lte IE 6]>DEMOS<table><tr><td><![endif]--> <ul> <li>zero dollars</li> <li>wrapping text</li> <li>styled form</li> <li>active focus</li> <li>HOVER/CLICK <!--[if lte IE 6]> <a class="sub" href="http://www.111cn.net/js_a/menu/hover_click.html" title="Hover/click with no active/focus borders">HOVER/CLICK <table><tr><td> <![endif]--> <ul class="right_side"> <li>styled form</li> <li>active focus</li> <li>hover/click</li> </ul> <!--[if lte IE 6]> </td></tr></table> <![endif]--> </li> <li>shadow boxing</li> <li>image map</li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li><li>MENUS<!--[if lte IE 6]>MENUS<table><tr><td><![endif]--> <ul> <li>spies menu</li> <li>vertical menu</li> <li>enlarging list</li> <li>link images</li> <li>non-rectangular</li> <li>jigsaw links</li> <li>circular links</li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li><li>LAYOUTS<!--[if lte IE 6]>LAYOUTS<table><tr><td><![endif]--> <ul> <li>Fixed 1</li> <li>Fixed 2</li> <li>Fixed 3</li> <li>Fixed 4</li> <li>minimum width</li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li><li>BOXES<!--[if lte IE 6]>BOXES<table><tr><td><![endif]--> <ul> <li>spies menu</li> <li>vertical menu</li> <li>enlarging list</li> <li>link images</li> <li>non-rectangular</li> <li>jigsaw links</li> <li>circular links</li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li><li>MOZILLA<!--[if lte IE 6]>MOZILLA<table><tr><td><![endif]--> <ul> <li>drop down menu</li> <li>cascading menu</li> <li>content:</li> <li>mozzie box</li> <li>rainbow box</li> <li>snooker cue</li> <li>target practise</li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li><li>EXPLORER<!--[if lte IE 6]>EXPLORER<table><tr><td><![endif]--> <ul class="right_side"> <li>example one</li> <li>weft fonts</li> <li>vertical align</li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li><li>OPACITY<!--[if lte IE 6]>OPACITY<table><tr><td><![endif]--> <ul class="right_side"> <li>opaque colours</li> <li>opaque menu</li> <li>partial opacity</li> <li>partial opacity II</li> <li>HOVER/CLICK <!--[if lte IE 6]> <a class="sub" href="http://www.111cn.net/js_a/menu/hover_click.html" title="Hover/click with no active/focus borders">HOVER/CLICK <table><tr><td> <![endif]--> <ul class="left_side"> <li>styled form</li> <li>active focus</li> <li>hover/click</li> </ul> <!--[if lte IE 6]> </td></tr></table> <![endif]--> </li> </ul><!--[if lte IE 6]></td></tr></table><![endif]--></li></ul></div></body></html>
提示:您可以先修改部分代碼再運行