Rank: Member
Groups: Member
Joined: 2/16/2006(UTC) Posts: 2
|
Hi, I'm having a nightmare implementing your product on OS X. Two seperate problems. 1. Using Java. The applet appears to load fine, but there are no files or folders appearing in the browser window when using latest Safari build or Firefox 1.5 2. In IE 5.2 on OSX, I am getting a javascript error 'object doesn't support this property or method' which i realise isn't very helpful but i can't identify the line of code causing it. I've used the code from your examples in the documentation, and also the code used in your online demo. nothing helps. It works fine in activex on Windows IE6 and java on Firefox for PC. Pls assist! CODE Code:<script language="javascript" src="iuembed.js"></script>
<script>
function ImageUploader_UploadFileCountChange(){
var fileCount = getImageUploader("ImageUploader").getUploadFileCount();
var img=document.getElementById("imgUpload");
img.src = fileCount ? "Images/Upload.gif" : "Images/UploadDisabled.gif";
img.className = fileCount ? "button" : "buttonDisabled";
}
</script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 775, 460);
//For ActiveX control we specify full path for CAB file
iu.activeXControlCodeBase = "/bms/imageuploader/ImageUploader35ActiveX/ImageUploader3.cab";
iu.activeXControlVersion = "3,5,124,0";
//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "/bms/imageuploader/ImageUploader10Java/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "1.1.01.0";
iu.addParam("Layout", "ThreePanes");
iu.addParam("FolderView", "Thumbnails");
iu.addParam("UploadView", "Thumbnails");
iu.addParam("UploadThumbnail1FitMode", "fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Hieght", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");
iu.addParam("BackgroundColor", "#FFF8EE");
iu.addParam("PaneBackgroundColor", "#FFFFFF");
iu.addParam("ShowButtons", "False");
iu.addParam("ShowStatusPane", "False");
iu.addParam("ShowDebugWindow", "True");
iu.addParam("AdditionalFormName", "Form1");
iu.addParam("Action", "upload.cfm?requesttimeout=1800");
iu.addParam("RedirectUrl", "/BMS/bulkuploader/index.cfm?action=getnames&category=<cfoutput>#url.category#</cfoutput>&uploadcontrol=aurigma");
iu.addParam("LicenseKey", "2640-3317-9228-4603;5934-7908-8998-8484");
iu.addParam("MaxFileCount", "10");
iu.addParam("MaxFileSize", "2097150");
iu.addParam("MaxTotalFileSize", "10485760");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.bmp;*.gif");
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.writeHtml();
</script>
Edited by user Sunday, February 17, 2008 7:48:16 PM(UTC)
| Reason: Not specified |
|