Switch that specifies if the context menu should be available by a right-click on a folder or upload pane.
Syntax
Initialize
JavaScript | ![]() |
---|---|
<script type="text/javascript" src="iuembed.js"></script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("ShowContextMenu", "true"); //...other params... iu.writeHtml(); </script> |
Get/Set Value in Runtime
JavaScript | ![]() |
---|---|
getImageUploader("ImageUploaderID").setShowContextMenu(value); value = getImageUploader("ImageUploaderID").getShowContextMenu(); |
Property Value
A boolean value (true
or false
). If true
, the context menu is displayed when the user right-clicks a pane.
Default value is "true".
Remarks
Using this menu the user can toggle between view modes (thumbnails, list, etc). They can also add files to the upload list or remove them from it.