This topic has not yet been rated - Rate this topic

onmsthumbnailclick event

[This documentation is preliminary and is subject to change.]

Occurs when a user clicks a button in a Thumbnail Toolbar.

Internet Explorer 9

Syntax

HTML Attribute <element onmsthumbnailclick = "handler(event)">
Event Property object.onmsthumbnailclick = handler;
attachEvent Method object.attachEvent("onmsthumbnailclick", handler)
addEventListener Method object.addEventListener("msthumbnailclick", handler, useCapture)

Standards information

There are no standards that apply here.

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Remarks

The onmsthumbnailclick event is available only to documents that are launched from a pinned site shortcut. For more information, see msAddSiteMode.

To invoke this event, do one of the following:

  • Click a Thumbnail Toolbar button.

Examples

The following script demonstrates how to attach an event handler and respond to a button click in a Thumbnail Toolbar.


function thumbnailClickHandler(evt)
{
    alert ("Clicked button: " + evt.buttonID);
}
document.addEventListener('msthumbnailclick', thumbnailClickHandler); 

See also

document
msAddSiteMode

 

 

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ