Switch that specifies if the context menu should be available by a right-click on a folder or upload pane.
<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>
getImageUploader("ImageUploaderID").setShowContextMenu(value); value = getImageUploader("ImageUploaderID").getShowContextMenu();
A boolean value (true
or false
). If true
, the context menu is displayed when the user right-clicks a pane.
Default value is "true".
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.