Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell driver drivers email error ethernet excel firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express partition password printer problem router slow software sound spyware trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Frame A display URL of Frame B


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
computer_pet's Avatar
Computer Specs
Senior Member with 480 posts.
 
Join Date: Jun 2003
Location: Australia
Experience: Windows, Linux & Web in General
19-Nov-2005, 12:09 AM #1
Red face Frame A display URL of Frame B
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)
computer_pet's Avatar
Computer Specs
Senior Member with 480 posts.
 
Join Date: Jun 2003
Location: Australia
Experience: Windows, Linux & Web in General
20-Nov-2005, 12:37 AM #2
*bump*
Any Ideas
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:49 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.