Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

msthumbnailclick | onmsthumbnailclick event

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

Syntax

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

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

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

 

 

Show:
© 2014 Microsoft