Forum Moderators: open
[bugzilla.mozilla.org...]
I'm sure there is a way and this will help me learn the dom a little more hopefully!
I want to detect gecko so to do that I start off with...
if navigator.userAgent.indexOf("Gecko")!=-1){
and then here is where I personally reach the end of the continental shelf...
I need to say take the title from the framed page (page that is inside the frame) and replace the frame's title with the framed page's title.
What I'm hoping is that this will allow Gecko users (until they fix an OBVIOUS bug that YES is indeed a bug regardless of how much people hate frames) to see the titles of the pages they have navigated and not have to play a guessing game at which one of the same twenty thousand pages is the one they want when navigating my site!
Let the fun begin! :)
document in the frame. The child used this to call a function in the parent:
window.parent.setTitle(document.title); The parent supplies this function:
function setTitle(newTitle) {
document.title = newTitle;
} It worked in Firefox, so I'm assuming it will work for all Gecko browsers?