EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
Ce sujet n'a pas encore été évalué - Évaluez ce sujet

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

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2013

Cela vous a-t-il été utile ?
(1500 caractères restants)

Ajouts de la communauté

AJOUTER
Microsoft réalise une enquête en ligne pour recueillir votre opinion sur le site Web de MSDN. Si vous choisissez d’y participer, cette enquête en ligne vous sera présentée lorsque vous quitterez le site Web de MSDN.

Si vous souhaitez y participer,
© 2013 Microsoft. Tous droits réservés.