如何在aurigma上传器中添加上下文菜单。我想添加全选并取消选择所有选项。 我已经阅读了这个文档(http://www.aurigma.com/docs/us8/JA_AllMembers_T_J_ $ au_contextMenu.htm),我在下面编写了这个。但是,aurigma uploader插件中没有出现任何内容?
<script type="text/javascript">
var uploader = $au.uploader({
id: 'Uploader1',
width: '950px',
height: '500px',
licenseKey: 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX',
enableDescriptionEditor: false,
enableRotation: false,
activeXControl: {
codeBase: 'Scripts/Uploader8.cab',
codeBase64: 'Scripts/Uploader8_x64.cab'
},
javaControl: {
codeBase: 'Scripts/Uploader8.jar'
},
uploadSettings: {
actionUrl: 'upload.php',
//redirectUrl: 'gallery.php',
filesPerPackage: 1
},
converters: [
{ mode: '*.*=SourceFile' }
],
folderPane: {
height: 370
},
uploadPane: {
viewMode: 'List'
},
contextMenu: {
addFilesText: "Add files",
uncheckAllText: "Uncheck all"
},
detailsViewColumns: {
infoText: ''
},
paneItem: {
showFileNameInThumbnailsView: true
},
imageEditor: {
enableCrop: false
}
});
var ip = $au.installationProgress(uploader);
ip.progressImageUrl('Images/installation_progress.gif');
ip.progressCssClass('ip-progress');
ip.instructionsCssClass('ip-instructions');
uploader.writeHtml();
</script>
答案 0 :(得分:0)
免责声明:我为Aurigma工作。
默认情况下启用“全部检查”功能。如果在文件夹视图中打开文件夹并展开上下文菜单,则会在此处看到此选项。它允许您将文件夹中的所有文件添加到上载列表中。 ContextMenu.CheckAllText属性用于更改菜单项的标题。
您是否期望此菜单项有其他行为,或者您在上下文菜单中没有看到它?