当前位置: 首页 > 图文教程 > 网页制作 > 心得技巧 > 面包屑导航

心得技巧
引入外部文件(js/vbs/css)时,避免产生乱码的方法
复制和粘帖是封装的大敌
浅谈 div 与 table 如何取舍结合利用
各种网络图片格式详解 PNG的好处
HTML中的input type="reset"标签失效(不起作用)的可能原因。
优秀的网页前端设计的一些指标
网站产品设计参考的几条原则
首页设计最能反映web设计师的水准
网页设计的专业与非专业
网页设计心得 高效编写网页代码
ie8,chrome中table的宽度固定方法
flash 嵌入网页 与IE, FF,傲游兼容问题
一个优秀的注册流程应该具有的步骤
网页flash动画不显示的解决方法
入门知识 网站地址前的http是什么意思?
网页理论:Don’t make me think 阅读笔记
网页设计经验谈
晕倒:“用web2.0来制作符合标准的页面”
网页文字设计应该像聪明女孩穿衣服
设计理论:界面内容优化的层次

心得技巧 中的 面包屑导航


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-28   浏览: 60 ::
收藏到网摘: n/a

Problem

The users need to know where they are in a hierarchical structure and navigate back to higher levels in the hierarchy

Solution

Show the hierarchical path from the top level to the current page and make each step clickable

From www.macromedia.com

Use when

Sites with a large hierarchical information structure, typically more than 3 levels deep. Such sites are medium to large sized and include E-commerce Site, catalogs, Portal Site, Corporate Site etc. The site has got some type of Main Navigation that allows users to traverse the hierarchy. Users may want to jump several steps back instead of following the hierarchy. Users may be unfamiliar with the hierarchical structure of the information.

How

The path shows the location of the current page in the total information structure. Each level of the hierarchy is labeled and functions as a link to that level. The current page is marked in order to give the users feedback about where they are now and should not be a link. Don't use the current page name in the breadcrumb as the only way to show section title, add a title anyway.

The path shows that a top-down path is traversed by using appropriate separators such as > or \ that suggest a downward motion. If the path becomes too long to fit in the designated place, some of the steps can be replaced by an ellipsis e.g. "...". The path is placed in a separate "bar" that preferably spans the entire width of the content area. It is placed close to the content area, preferably above the content area but below the page header.

Why

The bread crumbs show the users where they are and how the information is structured. Because users see the way the hierarchy is structured they can learn it more easily. By making each label a link, the users can quickly browse up the hierarchy. They take up minimal space on the page and leave most of the space for the real content. Breadcrumbs are not for primary navigation and should always be used together with a form of Main Navigation. Usability testing has shown that breadcrumbs are never cause trouble and that at least some people use them. So it is nearly always good to use them.

The name breadcrumb refers to the fairy-tale of Hansel and Gretel where a breadcrumb trail is used to mark the places Hansel has been. If the analogy were correct a breadcrumb should show the history of the users' actions rather than the position in the hierarchy. So the name breadcrumb is actually wrong...

More Examples


This example is taken from Sun's web site and shows the use of bread crumbs in product pages. The path from the top level is visible and the users can go to any of the other higher level product categories.


This example from World66 combines a Fly-out Menu with a breadcrumb....!!!

Implementation

Usually a CMS provides a standard component for creating breadcrumbs. If you are not using a CMS but you have a database driven site, you can easily write some custom code for it.