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

Notification

Icon
Error

Options
Go to last post Go to first unread
Fedor  
#1 Posted : Sunday, December 21, 2003 4:08:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Several users asked us how to make Image Uploader 100% width and 100% height on html layout. Here is a simple code sample:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>Image Uploader</title>
	</head>
	<body MS_POSITIONING="GridLayout">
		<object id="ImageUploader" style="width:100%;height:100%" codeBase="ImageUploader.CAB" 
			classid="clsid:BB6633E1-FE3B-41A1-A2D3-D08400D828BC" name="ImageUploader"
		</object>
	</body>
</html>


Note that instead of specifying size via attributes (width=100%" and height=100%) you should set size via CCS style="width:100%;height:100%".

========================================================
02/14/2008, Fedor
This topic is out of date.

You should use iuembed.js syntax now.

Also it will not work if you pass directly "100%" value in ImageUploaderWriter constructor:


Code:
var iu = new ImageUploaderWriter("ImageUploader1", "100%", "100%");


Thus you need to modify iuembed.js also.

On other side "100%" applet width and height did not worked properly on some browsers, so it should be also tested carefully
========================================================

Edited by user Wednesday, October 29, 2008 1:33:24 PM(UTC)  | Reason: Not specified

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.