0

如何在 aurigma 上传器中添加上下文菜单。我想添加全选并取消全选选项。我已阅读此文档(http://www.aurigma.com/docs/us8/JA_AllMembers_T_J_ $au_contextMenu.htm )并且我在下面的编码中尝试了这个。但是,aurigma 上传器插件中什么也没有出现?

                <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>
4

1 回答 1

0

免责声明:我为 Aurigma 工作。

“检查所有”功能默认启用。如果您在文件夹视图中打开一个文件夹并展开上下文菜单,您将在那里看到此选项。它允许您将文件夹中的所有文件添加到上传列表。属性 ContextMenu.CheckAllText 用于更改菜单项的标题。

在此处输入图像描述

您是否期待此菜单项的其他行为,或者您在上下文菜单中看不到它?

于 2014-03-31T17:40:01.030 回答