Export (0) Print
Expand All

msSiteModeShowThumbBar method

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

This method is not supported for Windows Store apps using JavaScript.

Internet Explorer 9

 

Syntax

object.msSiteModeShowThumbBar()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

There are no standards that apply here.

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.

Examples

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(); 

See also

external
window
Reference
msSiteModeAddThumbBarButton
msSiteModeUpdateThumbBarButton
msSiteModeAddButtonStyle

 

 

Show:
© 2014 Microsoft