|
|
Rank: Member Groups: Member
Joined: 7/26/2005 Posts: 9 Points: 6
|
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);
if (navigator.userAgent.indexOf("Opera")!=-1) {
isWinIE = false;
}
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
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);
}
Image Uploader 1.1 was released in the end of last week and you can download it at its usual place.
Best regards, Fedor Skvortsov
|
|
Rank: Member Groups: Member
Joined: 7/26/2005 Posts: 9 Points: 6
|
Thanks Fedor, Just so you know, it doesn't work with Opera on the demo site: http://www.aurigma.com/Products/ImageUploader/OnlineDemo.aspxThat code must be outdated. Josh
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
Hello Josh,
Thank you for you remark. I have updated our online demo.
Best regards, Fedor Skvortsov
|
|
|
Guest |