答案:现在的下拉菜单是兼容性越来越好了,不用js的最好了,但如果能用最少的代码实现出效果,也是不错的第一个,用到的js,不过很短,也很明了 下挂菜单 万水千山 万种风情 万山千水 万马奔腾 [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]这一个也不错 THE ULTIMATE CSS ONLY DROPDOWN MENU DEMOS zero dollars advertising page wrapping text around images styled form active focus hover/click with no borders styled form removing active/focus borders hover/click shadow boxing image map for detailed information fun with background images fade scrolling em image sizes compared BOXES a coded list of spies vertical menu enlarging unordered list link images non-rectangular jigsaw links circular links MOZILLA drop down menu cascading menu content: mozzie box I can build a rainbow with transparent borders a snooker cue using border art target practise two tone headings shadow text EXPLORER the first example for Internet Explorer weft fonts vertically aligning text OPACITY a colour wheel using opaque colours a menu using opacity partial opacity partial opacity II HOVER/CLICK styled form removing active/focus borders hover/click [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]http://www.jluvip.com/works/css/dropmenu/dropmenu.html
现在的下拉菜单是兼容性越来越好了,不用js的最好了,但如果能用最少的代码实现出效果,也是不错的第一个,用到的js,不过很短,也很明了
上一个:JS值当前DIV的ID值的代码下一个:用Javscript实现表单复选框的全选功能