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
|
|
|
|
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)
|
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
|
|
|
|
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?
|
|
|
|
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)
|
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
|
|
|
|
Rank: Member
Groups: Member
Joined: 8/28/2005(UTC) Posts: 3
|
|
|
|
|
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.