Rank: Member
Groups: Member
Joined: 7/25/2006(UTC) Posts: 5
|
Hmm i dont see any errors. Just use your online demo http://www.aurigma.com/Products...nlineDemo.aspx#UserQuotaand add Code:iu.addParam("CheckFilesBySelectAllButton", "true");
and Code:iu.addParam("ShowButtons", "true");
the code: Code:<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 610, 490);
//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "../ImageUploader4.cab";
iu.activeXControlVersion = "4,0,33,0";
//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "../";
iu.javaAppletCached = true;
iu.javaAppletVersion = "2.0.35.0";
iu.activeXControlEnabled=false;
iu.addParam("MaxFileCount", "10");
iu.addParam("MaxFileSize", "2097150");
iu.addParam("MaxTotalFileSize", "10485760");
iu.showNonemptyResponse = "off";
//Configure appearance and behaviour.
iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("TreePaneWidth", "205");
iu.addParam("ShowButtons", "true");
iu.addParam("ShowDebugWindow", "true");
//Configure colors.
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("SplitterLineColor", "#0066cc");
//Configure border and splitter line style.
iu.addParam("FolderPaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("UploadPaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("TreePaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("SplitterLineStyle", "Dot"); //NOT SUPPORTED IN JAVA
//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");
//Configure upload settings.
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("AutoRecoverMaxTriesCount", "10");
iu.addParam("AutoRecoverTimeOut", "10000");
iu.addParam("LicenseKey", "6173-9279-5549-5309;8721-7968-5785-6968");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.bmp;*.gif");
//Configure URL files are uploaded to.
iu.addParam("Action", "upload.aspx?SessionID=79360c83-1e92-46f5-b718-49499fa1558f");
//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "gallery.aspx");
//ADDED
iu.addParam("CheckFilesBySelectAllButton", "true");
//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("ViewChange", "ImageUploader_ViewChange");
iu.fullPageLoadListenerName = "fullPageLoad";
//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
//]]>
</script>
Edited by user Monday, February 25, 2008 5:13:24 PM(UTC)
| Reason: Not specified
|