Hi,
I wish to be able to have a page with three frames (Side Frame, Main Frame and Top frame). I want the top frame to display the URL of the main frame in a text box field. Now this text box I want the user to also use it as a "Address Bar" script (the user changes the contents of the text box field, submits form and the address placed in text box will be displayed in the Main Frame)
Now someone has already helped me with the browser address bar script, however could someone change it to display the URL of what is currently in another frame? The body of the top frame is shown below:
HTML Code:
<body> <div class="c1"> <form name="addressbar" action="javascript:void(0)"
onsubmit="javascript:go()" method="post"> <div> <input type="text" name="address" value="http://" size="20"> <input type="submit" value="GO"> </div> </form> <br /> <script type="text/javascript">
document.forms.addressbar.address.focus();
function go()
{
window.open(document.forms.addressbar.address.value,'mywindow');
}
</script> </div> </body> This does not have to be done in html, it can also be done in PHP. Also the page that is displayed in MainFrame I have no access to, but I do have access to the frameset and topframe and sideframe.
Just something else that would be really great but not necessary, that the title of MainFrame be displayed as the Browser Windows title (so if mainframe changes the title of browser window changes)