accelerator

Jump to: navigation, search

accelerator

This article is In Progress.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.


Properties

No properties.

Methods

No methods.

Events

No events.

Examples

This example uses the -ms-accelerator attribute in a u element to specify that the N in the label element is a keyboard shortcut. When the option to "Hide keyboard navigation indicators until I use the Alt key" is enabled in the user's Display Properties, the N is not underlined until the user presses the ALT key. When ALT+N is pressed, the input element that defines an accessKey attribute value of 'N' receives the focus.

<LABEL FOR="oName"><U STYLE="ACCELERATOR:true">N</U>ame: </LABEL>
<INPUT TYPE="text" 	
    ID="oName" 
    SIZE="25"
    ACCESSKEY="N" 
    VALUE="Your name here">

Notes

Remarks

This property is supported by Windows 2000 and later, which enables users to hide navigation indicators for menu items and controls until the ALT key is pressed. An access key is a single character used as a keyboard shortcut for selecting an object. Press and hold the ALT key followed by the character to move input focus and invoke the default event associated with an object. Windows Internet Explorer 8. The -ms-accelerator attribute is an extension to CSS, and can be used as a synonym for accelerator in IE8 Standards mode.

Syntax

-ms-accelerator: false | true

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related articles

Media Queries




  • accelerator






















Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]