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

Notification

Icon
Error

Options
Go to last post Go to first unread
praxisinc  
#1 Posted : Thursday, March 31, 2005 9:38:00 AM(UTC)
praxisinc

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!
Fedor  
#2 Posted : Friday, April 1, 2005 7:26:00 PM(UTC)
Fedor

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
praxisinc  
#3 Posted : Monday, April 4, 2005 7:11:00 AM(UTC)
praxisinc

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?

Fedor  
#4 Posted : Friday, April 22, 2005 10:53:00 PM(UTC)
Fedor

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
Fedor  
#5 Posted : Wednesday, June 15, 2005 11:26:00 PM(UTC)
Fedor

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
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.