i am opening a popUp with an enlargement of a thumbnail for agallery . the code i have on each thiumbnail is this
Code:
<a href="#" onclick="MM_openBrWindow('akivaBigPicts.html','big','width=420,height=500'),test(0)"><img src="thumbnails/1.jpg" width="75" height="75" border="0" /></a>
the test function at the top of the page is:
Code:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var ShowPhotoIndex;
function test(number){
ShowPhotoIndex=number;
}
this works in explorer and in mozila it doesnt, why?
|