2014-03-27 62 views
0

如何在aurigma上傳器中添加上下文菜單。我想添加全部選擇並全部取消選擇。 我已閱讀此文檔(http://www.aurigma.com/docs/us8/JA_AllMembers_T_J_ $ au_contextMenu.htm),我已經嘗試了下面的代碼。但是,aurigma上傳器插件中沒有出現任何內容?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> 

回答

0

聲明:我爲Aurigma工作。

默認情況下啓用「全部檢查」功能。如果您在文件夾視圖中打開一個文件夾並展開上下文菜單,您將在此處看到此選項。它允許您將文件夾中的所有文件添加到上傳列表中。屬性ContextMenu.CheckAllText用於更改菜單項的標題。

enter image description here

你期待此菜單項一些其他的行爲,或你沒有看到它在上下文菜單?