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

Notification

Icon
Error

Options
Go to last post Go to first unread
josh  
#1 Posted : Tuesday, July 26, 2005 12:52:00 AM(UTC)
josh

Rank: Member

Groups: Member
Joined: 7/26/2005(UTC)
Posts: 9

If Image Uploader is embedded with support for ActiveX and Java, it does not work with the default install for Opera. By default Opera identifies its self as MSIE 6.0. Therefore Image Uploader will try to embed the ActiveX version instead of using the Java version. A couple lines of Javascript in the iuembed.js file will fix the problem. In the writeHTML function you could add the following code to identify Opera. As you see below you will want to add the code after the isWinIE check:
Code:
var isWinIE=(a.indexOf("msie")!=-1)&&(a.indexOf("win")!=-1);

// Check if Opera - because Opera can report as IE
if (navigator.userAgent.indexOf("Opera")!=-1) {
	isWinIE = false;
}

Edited by user Thursday, February 14, 2008 7:50:11 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Tuesday, July 26, 2005 1:39:00 AM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 58 time(s) in 57 post(s)
Hello, Thank you for your bug report. Checking for Opera was added in iuembed.js script which is shipped with Image Uploader 1.1:
Code:
	this.writeHtml=function(){
		var a=navigator.userAgent.toLowerCase();
		var isOpera=(a.indexOf("opera")!=-1);
		var isWinIE=(a.indexOf("msie")!=-1)&&(a.indexOf("win")!=-1)&&!isOpera;
		var isSafari=(a.indexOf("safari")!=-1); 
		
		//Other code....
	}
Image Uploader 1.1 was released in the end of last week and you can download it at its usual place.

Edited by user Thursday, February 14, 2008 7:50:00 PM(UTC)  | Reason: Not specified

Best regards, Fedor Skvortsov
josh  
#3 Posted : Tuesday, July 26, 2005 1:45:00 AM(UTC)
josh

Rank: Member

Groups: Member
Joined: 7/26/2005(UTC)
Posts: 9

Thanks Fedor, Just so you know, it doesn't work with Opera on the demo site: http://www.aurigma.com/P...Uploader/OnlineDemo.aspx That code must be outdated. Josh
Fedor  
#4 Posted : Tuesday, July 26, 2005 12:33:00 PM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 58 time(s) in 57 post(s)
Hello Josh, Thank you for you remark. I have updated our online demo.
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.