Forum Moderators: open
My site is designed in frames. My frameset consists of a top frame that displays my company logo and phone #, and then I have a main frame that displays all site content.
The URL of the frameset is displayed in a browsers address bar, but I want the URL of the main frame to be (automatically) displayed in the address bar.
Does anyone know how to do this? Thanks in advance for all your help
It's SUPPOSED to show the address of the document being displayed - which in your case is the frameset. That's one of the big downsides involved with using frames, and one of the reasons Jakob Nielsen says that frames "break the metaphor of the web".
HOPE FOR THE FUTURE:
If all you want is a top frame, you are supposed to be able to create that same effect with a div using position:fixed. IE support is currently lacking, unfortunately.
If all you want is a top frame, you are supposed to be able to create that same effect with a div using position:fixed. IE support is currently lacking, unfortunately.
How about a header div at the top with logo etc.
Then everything else either in an iframe or in a div with the overflow property set to auto?
The div solution should allow this without any sneakiness, since its a 'normal' page.
The iframe page needs a little bit more cunning as the links in the iframe must
target the main page, which in turn loads a new page that contains an iframe (with the new content). The div solution seems like the best choice.