基于CSS+JavaScript的网页下拉菜单的设计与研究
Design and Research of Web Drop-Down Menu Based on CSS and JavaScript
张红琴 1杨省伟1
作者信息
- 1. 河南质量工程职业学院,河南平顶山467001
- 折叠
摘要
网页的导航菜单是整个网页布局中最重要的部分之一,用CSS样式和脚本语言JavaScript制作网页二级下拉菜单,可以使内容和样式分离,修改页面内容或样式时,更加容易省时。只改变CSS属性,其他内容都不变,就可以轻松实现子菜单横向排列和竖直排列的转换,可广泛用于网页设计中。
Abstract
The web page navigation menu is the most important part in all web layout. It can realize the division of web contents and the style to make web page two level menu in CSS and Scripting Language Javascript. It's easy to modify web page contents or style and time can be saved. It can easily realize the change of vertical arrangement and horizontal arrangement of two level submenu when the CSS properties are changed without changing other contents. It is widely used in web page design
关键词
CSS/DIV/JavaScript/网页/XHTML/菜单Key words
CSS/DIV/JavaScript/web page/XHTML/menu引用本文复制引用
出版年
2012