Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
onmsthumbnailclick
Collapse the table of content
Expand the table of content

msthumbnailclick | onmsthumbnailclick event

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)

 

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:
© 2015 Microsoft