Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Java Version - how do I make uploader 100% width and 100% height
Rank: Member
Groups: Member
Joined: 5/12/2004(UTC) Posts: 49
|
I am testing the new Java candidate trial version, and I am using the sample that uses: iuembed.js
I'd like to setup the width and height to 100% (percentage), but I am getting an error. How do I do it?
Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
In what browser do you test? |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Member
Joined: 5/12/2004(UTC) Posts: 49
|
In Internet Explorer 6 and I am using the sample that uses: iuembed.js
Everything works perfect when I use dimensions on pixels, but when I change to percentages it does not work.
Can you tell me how to make it work?
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
If you use iuembed.js for inserting applet, then you can pass percents to ImageUploaderWriter using common syntax: Code:<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader1", "100%", "100%");
iu.writeHtml();
</script>
But unfortunatelty not all browsers (for example old versions of Safari) support percent size in underlying <applet> and <embed> tags. Edited by user Tuesday, October 28, 2008 11:22:47 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
I just want to add, that some old versions of Safari browser don't work correctly with applet size in percentage. |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Java Version - how do I make uploader 100% width and 100% height
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.