- Description
- When To Use
- How To Interact
- How To Implement
- Why Use This
- Screenshot
A user interacts with a Action Button by clicking it with their mouse cursor.
The following image shows the source file before the css hover states have been programmed
To implement the hover states the following css code should be used. This code will mask the image and shift its position when different mouse states are triggered.
li.button_state a{
display: block;
height: 35px;
width:70px;
background-image:url(image.gif);
background-position: 0 0;
overflow: hidden;
}
li.button_state a:hover{
display: block;
height: 35px;
width:70px;
background-image:url(image.gif);
background-position: 142px 0;
overflow: hidden;
}
li.button_state a:active{
display: block;
height: 35px;
width:70px;
background-image:url(image.gif);
background-position: 283px 0;
overflow: hidden;
}
Click below to demo the button with a hover state and pressed state.
The placement of the buttons is fairly standard across the web. Log Out buttons are traditionally found in the top right corner, so this will allow the user to easily find this function should they need it. Additionally, the right side is often associated with a “next step”, and since logging out could be interpreted as moving forward, this right side location is logical.
Cancel buttons are always necessary because users do make mistakes, and cancel buttons allow them an easy way out. However, it is also important that a confirmation is provided because should a user have been working on something within the site and accidently click the cancel button, the work would be lost. A confirmation screen prevents this from happening.
A user interacts with a Breadcrumb by clicking on one of the active history links with their mouse cursor.
Near the top of the page, display breadcrumbs which explain to a user their current location within the greater hierarchy of the website. The page titles should be displayed in order from left to right, with the left most being the highest level page of the hierarchy. The pages should be separated by > signs. All page titles should be links to allow the user to quickly return to that page.
Through using the approach listed as the solution, the hierarchy is not only clear and easy to understand, but takes up minimal space and fits nicely near the top regardless of how the page has been designed.
A user interacts with a Pagination widget by either clicking the back/forward links, start/end links, or the numerical links.
Break the large list of items into pages, and use pagination to allow the user to switch between the many pages of items. In the solution, the user may see the current page they are on, the two other nearest pages, a link to go to the next page, and >> arrows to transport the user to the late page. All pages are separated by a | symbol and the current page the user is on carries the traits of not being clickable and is shown as a different color. The solution should be placed at the very bottom below all search results.
Placing pagination at the bottom makes sense as per the user’s mental model. They create a search, review the results, and if they have yet to find their desired match on the first page, they can then travel to the next. If pagination was placed on the top and users were allowed to go to the next page before they have seen everything on the current page, it would not be logical. Additionally, the size of the navigation bar can serve as an additional aide to the user in telling them how much further they have to scroll until they get to the end of the page. This may help them get a better sense of the amount of search results and whether traveling to another page may be necessary for them to find their desired result.