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

Notification

Icon
Error

Options
Go to last post Go to first unread
TrekMan  
#1 Posted : Sunday, August 28, 2005 10:29:26 PM(UTC)
TrekMan

Rank: Member

Groups: Member
Joined: 8/28/2005(UTC)
Posts: 3

hello,

Is there an easy way to activate the aurigma java upload in IE (using the script)?

thx
Fedor  
#2 Posted : Tuesday, August 30, 2005 12:32:46 AM(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)
Hello,

Quote:
TrekMan (8/29/2005)
Is there an easy way to activate the aurigma java upload in IE (using the script)?


Just set activeXControlEnabled property to false and javaAppletEnabled to true to force always using Image Uploader for Java.

Code:
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;
Best regards,
Fedor Skvortsov
TrekMan  
#3 Posted : Tuesday, August 30, 2005 4:32:11 PM(UTC)
TrekMan

Rank: Member

Groups: Member
Joined: 8/28/2005(UTC)
Posts: 3

Quote:
Fedor (8/30/2005)
Hello,

Just set activeXControlEnabled property to false and javaAppletEnabled to true to force always using Image Uploader for Java.

Code:
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = false;


hello,

In this case the java upload will always be activated.

I want to give the users the possibility to choose whether they want to use the javaupload in IE or not

so i'm wondering if i can use a parameter?
Fedor  
#4 Posted : Tuesday, August 30, 2005 4:52:46 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)
Quote:
TrekMan (8/31/2005)


In this case the java upload will always be activated.

I want to give the users the possibility to choose whether they want to use the javaupload in IE or not


You can dynamically write JavaScript code. For example you can put following links for ActiveX and Java versions:

Code:
upload.asp?type=Activex
upload.asp?type=Java


And then in upload.asp use following code:

Code:
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
<%
If Request.QueryString("type")="ActiveX" Then
%>
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = false;
<%
ElseIf Request.QueryString("type")="Java" Then
%>
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;
<%
Else
%>
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
<%
End If
%>


This code is for ASP, but I think it will be no problem to use similiar one for any other platform.

Edited by user Sunday, December 23, 2007 5:44:20 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
TrekMan  
#5 Posted : Wednesday, August 31, 2005 8:30:12 PM(UTC)
TrekMan

Rank: Member

Groups: Member
Joined: 8/28/2005(UTC)
Posts: 3

okay thx!
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.