jQuery实现简单二级下拉菜单

HTML代码

rush:xhtml;">

js代码

rush:js;">

css代码

rush:css;"> body,h1,h2,h3,h4,h5,h6,p,ol,ul,li,dl,dt,dd{padding:0;margin:0;} li{list-style:none;} img{border:none;} u{text-decoration:none;} em{font-style:normal;} a{color:#424242;text-decoration:none;outline:none;blr:expression(this.onFocus=this.blur());} body{font-size:12px;font-family: Arial,Verdana,Helvetica,sans-serif; word-break:break-all;} .Box{margin:0 auto;text-align:left;width:920px;} .clear{clear:both;} /* 【经典】弹出层菜单 */ .UpLayer{ margin:100px;} .UpLayer dl dt{width:50px;position:absolute; z-index:3;padding:0 5px;line-height:20px;} .UpLayer02{border:#ccc 1px solid; border-bottom:none;background:#f1f1f1; margin:-1px 0 0 -1px;} .UpLayer dl dd{ width:80px;position:absolute;z-index:2;border:#ccc 1px solid;padding:5px; line-height:20px; background:#f1f1f1; display:none; margin:19px 0 0 -1px;} .UpLayer dl dd a{ display:block;border-bottom:#ccc 1px dashed;}

最好不要忘记插入jQuery js文件,最好下载最新的。

以上所述就是本文的全部内容了,希望大家能够喜欢。

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: <span id=&quot...
jQuery 添加水印 <script src="../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...