Menu
i have a page with two iframes “MAIN” and “MENU”.
when the page inside the “MAIN” frame is loaded i want to make the “MENU” frame go somewhere else.
in the body onload event of the page inside the “MAIN” frame i have the following:
[CODE]parent.document.getElementsByTagName(‘iframe’)[‘MENU’].location.href=’somewhereelse.html’;
i think i’m referencing the frame correctly, because i can resize it as follows:
[CODE]parent.document.getElementsByTagName(‘iframe’)[‘MENU’].width=20;
i just can’t get it to redirect.
what’s up?