Hey. I wrote a system that works like this:
When someone clicks a link to an external site, it automatically loads a frameset which puts my "Navigator" up-top (complete with forms for news, weather, search, etc) and then puts the URL content on the bottom.
Here's my problem: I need to capture the second frames URL every time a user moves to a different page. This way, when a user clicks "Remove Frame", it automatically dumps them to the current page, rather than the initial URL passed to the system.
Can someone provide me with an answer so this and some short source code? I assume this will have to be done using JavaScript and PHP, or maybe just one or the other. It was previously explained to me in JavaScript, but I am very unfamiliar with the language and have had no luck locating a resource. All I need it a short source code for the two frames that would capture the URL of the second frame and send it to the first, each time the user moves. Thanks.
Justin