Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
pustefisk  
#1 Posted : Wednesday, June 4, 2008 6:56:26 PM(UTC)
pustefisk

Rank: Newbie

Groups: Member
Joined: 4/14/2008(UTC)
Posts: 6

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  
#2 Posted : Friday, June 6, 2008 1:20:02 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 422

Was thanked: 15 time(s) in 15 post(s)
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
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.