Aurigma Forums
»
Upload Suite
»
FAQ – ActiveX/Java Uploader
»
HOWTO: Set Image Uploader 6 size dynamically
Rank: Advanced Member
Groups: Member
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
When you create new instance of ImageUploaderWriter and set width/height to 100%: Code:
var iu = new ImageUploaderWriter("ImageUploader1", "100%", "100%");
you may notice that Image Uploader size is different in various browser types. It occurs because of a different browsers behavour. To eliminate this problem with Image Uploader you should put Image Uploader to a container. It could be a div or a form element. Of course, it is required to set width and height of element where Image Uploader is put. Here is minor sample how to implement it: Code:
<form style = “width: 500px, height: 500px”>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploader1", "100%", "100%");
/* You code */
</script>
</form>
Edited by user Thursday, March 3, 2011 10:44:57 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
 1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Aurigma Forums
»
Upload Suite
»
FAQ – ActiveX/Java Uploader
»
HOWTO: Set Image Uploader 6 size dynamically
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.