Welcome Guest Search | Active Topics | Members

Make ImageUploader 100% width of page Options
pustefisk
Posted: Thursday, June 05, 2008 2:56:26 AM
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
Eugene Kosmin
Posted: Friday, June 06, 2008 9:20:02 PM
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
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.