Rollover (web design)

Rollover (web design)

Rollover refers to a button as created by a web developer or web designer, found within a web page, used to provide interactivity between the user and the page itself. The term rollover in this regard originates from the visual process of "rolling the mouse cursor over the button" causing the button to react (usually visually, by replacing the button's source image with another image), and sometimes resulting in a change in the web page itself. The part of the term 'roll' is probably referring to older mouses that had a mechanical assembly consisting of a hard rubber ball housed in the base of the mouse (which rolls) as opposed to the modern optical mouse, which has no 'rolling' parts. The term mouseover is probably a more appropriate term considering today's technology.

Rollovers can be done by imagery, text or buttons. The user only requires 2 images/buttons (with the possible addition of "alt" text to these images) to perform this interactive action.Rollover imagery can be done either by a program with a built-in tool or script coding. The user will have to pick a first image and select an alternate secondary image. A mouse action will have to be set to either "click on" or "mouse over" in order for the rollover to be triggered. Note that when the "mouse over" moves on the image, the alt image/secondary image will appear but won't stay - when the user "mouses out" by moving the mouse away from the image, the original source image will reappear. Fact|date=November 2007

Coding

There are several different ways to create a rollover. This is an example of a rollover in CSS and HTML:

CSS a { display: block; width: 100px; height: 30px; background-

HTML Wikipedia

Different types of rollovers

While rollovers are not in themselves animated images, some users and HTML experts have managed to create animation-like effects.

*"Zooming rollovers": when the mouse is moved over an image/text or button, it increases its size, depending on the limit size the user sets. [http://www.javascript-fx.com/navigation/imagezoom/general_help/help.html link]
*"Fading rollovers": when the user moves the mouse over an image/text or button, it either fades in or out, depending on the user control [http://www.dissymmetry.com/tutorials/v2rollover.html link]
*"Disjointed rollovers": when the mouse is moved over an image or button, other areas on the screen change to reflect what will happen if the user clicks.

See also

*Mouseover

External links

* [http://www.entheosweb.com/website_design/rollover_images.asp Tutorial on creating a rollover] (limited application)
* [http://www.3point7designs.com/blog/2006/07/24/accessible-css-roll-over-images/ Tutorial for creating accessible rollovers]
* [http://jamus.dannz.net.nz/technology/imagepreloading.htm How to preload images for rollover]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Rollover (disambiguation) — The word Rollover has a number of different uses: * Rollover a type of vehicle accident **Dynamic rollover a type of rollover specific to helicopters * A service offered by AT T Mobility (formerly Cingular wireless) * Rollover (web design) an… …   Wikipedia

  • Rollover (key) — Rollover is the ability of a computer keyboard to correctly handle several simultaneous keystrokes. Contents 1 Normal typing 2 n key rollover 2.1 Multi key rollover 3 Key jamm …   Wikipedia

  • Adobe Dreamweaver — Dreamweaver redirects here. For the song, see Dream Weaver (song). For other uses, see Dreamweaver (disambiguation). Adobe Dreamweaver (Dreamweaver CS5) …   Wikipedia

  • Chrysler Town & Country — This article is about the minivan. For other cars named the Town Country, see Chrysler Town Country (1941–1988). Chrysler Town Country Manufacturer Chrysler (known as DaimlerCh …   Wikipedia

  • Car accident — A car accident is a road traffic incident which usually involves one road vehicle colliding with, either another vehicle, another road user, or a stationary roadside object, and which may result in injury or property damage. Terminology Phrases… …   Wikipedia

  • Traffic collision — Car crash redirects here. For the Matt Nathanson song, see Some Mad Hope. Vehicle collision Classification and external resources A head on collision of two cars …   Wikipedia

  • Airbag — An airbag is part of a vehicle s safety restraint system, a flexible envelope designed for rapid inflation in an automobile collision, to prevent vehicle occupants from striking hard interior objects such as steering wheels. It is considered a… …   Wikipedia

  • Image map — For image maps in Wikipedia, see Extension:ImageMap. In HTML and XHTML , an image map is a list of coordinates relating to a specific image, created in order to hyperlink areas of the image to various destinations (as opposed to a normal image… …   Wikipedia

  • Stryker — Infobox Weapon name=Stryker caption=M1126 Stryker ICV origin=flagcountry|United States type=Armored personnel carrier is vehicle=yes crew=2+9 length= 6.95 m (22.92 ft) width= 2.72 m (8.97 ft) height= 2.64 m (8.72 ft) weight= ICV: 16.47 t (18.12… …   Wikipedia

  • Automobile safety — is the avoidance of automobile accidents or the minimization of harmful effects of accidents, in particular as pertaining to human life and health. Numerous safety features have been built into cars for years, some for the safety of car s… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”