[Zope] activeimages and opera 5.11
dave@kovach.com
dave@kovach.com
22 May 2001 11:50:00 -0700
Hi -
Has anyone experimented with getting the ActiveImages product to work with the Opera web broswer? Or run into any other compatibility issues with the javascript AI uses in other browsers?
There seems to be a hang-up in the actual ChangeImage function:
function AI_changeImages() {
if (document.images) {
for (var i=0;i <AI_changeImages.arguments.length;
i+=2) {
document[AI_changeImages.arguments[i]].src = eval(AI_changeImages.arguments[i+1] + ".src");
}
}
}
This seems to work (partially tested):
function changeImages() {
if (document.images) {
for (var i=0; i<changeImages.arguments.length;
i+=2) {
document[changeImages.arguments[i]].src =
changeImages.arguments[i+1];
}
}
}
Thanks
David Kovach
dave@kovach.com