1) Script Title:
Lightbox image viewer 2.03a
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...box2/index.htm
3) Describe problem:
I have a page were I won't to use Lightbox together with Tab Content Script.
Because I don't have the possibility to work around in all the code (it's a system with locked code) I have to use a Javascript so I can change some words on all places at the same time.
That script is in the quote:
The problem is that it don't work in Internet Explorer. It works fine in Firefox.setTimeout("Init()", 1)
function Init() {
var arrTxt=new Array("Beskrivning","Specifikationer","Dokument, länkar...");
var arrObj=new Array("t1t","t2t","t3t");
for(i in arrTxt){
document.getElementById(arrObj[i]).innerHTML=arrTxt[i];
}
}
If I delete the prototype.js in Lightbox it also works in Internet Explorer. So it's something in Lightbox/prototype.js that is incompatible with my quoted script when used in IE.
The question is what?
Here is a link to a zip-archive with the files and images
http://www.megaupload.com/?d=6PF39O6R



Reply With Quote


Bookmarks