Rank: Newbie Groups: Member
Joined: 4/14/2008 Posts: 6 Points: 18
|
It seems that I cannot just set ImageUploader width to 100% to adjust to the current page width i.e. ImageUploaderWriter("ImageUploader1", "100%", "100%"). I have tested this on verious browsers.
Nor did it work by setting the css to 100% (in both the Java and ActiveX version).
Can anyone supply me with a code example of how I can load the ImagUploader so both the uploadpane and the uploader itself will be 100% of the current page width !?
regards
Nicolai Busekist
|
Rank: Advanced Member Groups: Member
Joined: 9/19/2006 Posts: 352 Points: 177
|
Hi Nicolai, That's strange, I've tested you code and it was ok. At least the following code works fine with IE 7.0 and firefox 2.0.0.14: Code:
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", "100%", "50%");
iu.addParam("Action", "ExtractFiles.aspx");
iu.addParam("FilesPerOnePackageCount", "1");
iu.writeHtml();
var uw = new UploadPaneWriter("UploadPane", "100%", "20%");
uw.addParam("ParentControlName", "ImageUploader");
uw.writeHtml();
</script>
Best regards, Eugene Kosmin. Aurigma Development Team
|