msSiteModeShowThumbBar Method

New for Windows Internet Explorer 9

Enables the Thumbnail Toolbar in the thumbnail preview of a pinned site.

Syntax

window.external.msSiteModeShowThumbBar()

Return Value

No return value.

Possible Exceptions

Permission denied (0x80070005) The current page is not a pinned site.
Not implemented (0x80004001) This method is not supported on Windows CE.

Remarks

This method completes the process of creating a Thumbnail Toolbar. You must add buttons to the Thumbnail Toolbar by using msSiteModeAddThumbBarButton before the Thumbnail Toolbar can be displayed.

Buttons cannot be added after the Thumbnail Toolbar is visible, but you can:

Note  To view the Thumbnail Toolbar, hover over the pinned site button in the Windows taskbar.

Example

The following example adds two buttons and displays the Thumbnail Toolbar. The script stores the button ID values so that it can tell which button is clicked. For more information, see msSiteModeAddThumbBarButton.


btn1 = window.external.msSiteModeAddThumbBarButton('Images/play.ico', 'Play');
btn2 = window.external.msSiteModeAddThumbBarButton('Images/stop.ico', 'Stop');

window.external.msSiteModeShowThumbBar(); 

Applies To

external

See Also

Community Additions

ADD
Show:
© 2014 Microsoft