I have a main .htm page with three frames:
(1) frameA (navigation bar)
(2) frameB (site locator...this is a dynamic hyperlink bar that displays current location)
(3) frameC (site contents)
As a new page is loaded in frameC, I would like for it to report its location to frameB so frameB can show the updated link information.
:: snip from frameB ::
<td height="15" width="90">you are here: </td>
<td><div id="siteLoc"> </div></td>
:: snip from frameC ::
// load up the navigation in frameB
var l = '<a href="home.htm" target="frameC">home</a>';
parent.frames('frameB').document.getElementById('siteLoc').innerHTML = l;
Works fine in IE, but does not render anything in Firefox. Any suggestions?