|
Hi - I've just joined this forum and had a fair look around for answers to my problem but can't see any.
I am attempting to change an image from a child window with the window.opener property.
Works fine in IE5
Basically the opening document is part of a frameset with an image array and displays the image with:-
var image=new Array()
image[0]=new Image()
image[0].src="num1.gif"
document.write('<img src="'+image[0].src+'" name="one">')
window.open("fred.html")
Then from fred.html, I say:-
opener.parent.mainFrame.one.src="num2.gif"
As I say. OK in IE but the image doesn't change in firefox - any suggestions?
Last edited by drjohn; 10-08-2006 at 02:38 AM..
|