I know Netscape6 now can support IFrame but ignoes the layer.
But I don't know the properties of IFrame in Netscape 6.
The syntax in IE5 to get the content of an IFrame is the below:
temp = document.frames['myIFrame'].document.body.innerHTML
I tried to convert it to suit the Netscape 6 but failed.
What I did is the following:
temp = document.getElementById("myIFrame"
.document.body.innerHTML
Is there anyone can help me to correct the javascipt above ?
(note:
I imported the external HTML files to myIFrame:
For IE:
document.frames['myIFrame'].document.location="myfile.html"
For N6:
document.getElementById("myIFrame"
.src="myfile.html"
They work fine.
)
But I don't know the properties of IFrame in Netscape 6.
The syntax in IE5 to get the content of an IFrame is the below:
temp = document.frames['myIFrame'].document.body.innerHTML
I tried to convert it to suit the Netscape 6 but failed.
What I did is the following:
temp = document.getElementById("myIFrame"
Is there anyone can help me to correct the javascipt above ?
(note:
I imported the external HTML files to myIFrame:
For IE:
document.frames['myIFrame'].document.location="myfile.html"
For N6:
document.getElementById("myIFrame"
They work fine.
)