Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<!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" xml:lang="en-us">
<head>
<title>下滑菜单
</title>
<script type="text/javascript" src="http://ku.shouce.ren/libs/jquery/1/jquery1.8.1.min.js">
</script>
</head>
<body>
<ol class="menu">
<li class="item">
<a href="/">在线代码
</a>
<ol>
<li>
xxxxxxxxxx
body {
font-family: Arial;
font-size: 16px;
}
ol {
list-style: none;
margin: 0;
padding: 0;
li.item {
float: left;
width: 150px;
background: #F39;
margin: 5px;
li.item a {
font-size: 18px;
color: #FFF;
margin: 4px;
li.item ol {
background: #FFF;
margin: 3px;
li.item ol a {
color: #000;
$(document).ready(function(){
$("li.item > ol").hide();
$("li.item").hover(function(){
$("ol",this).slideDown("fast");
//$("ol",this): 寻找this中的ol.
,function(){
$("ol",this).slideUp("fast");
);