Forum Moderators: phranque
<snip>
When I attempt to look at the source code of the fixed menu, I see only the source code of the lower page.
How is this best done?
[edited by: trillianjedi at 8:14 pm (utc) on Feb. 23, 2006]
[edit reason] No URL's please - thanks. [/edit]
It is not a the best way of doing things but it isn't always wrong either.
It also used to be that you would leave a site that had fromaes and one frame would stay with you until you closed your browser and reopened it. Very annoying, however I think that was netscape 4.1 days, which are long gone.
It isn't wrong to do what you are thinking in frames. Just try to keep it to one. I meant he site you are looking at for an example did it and you didn't notice, I am sure if done right no one will notice your frame either.
One of the main problems with frames is that people will not be able to bookmark a specific page of your site. Someone comes to your site at a.html then navigates to d.html. They bookmark the site, but the bookmark is a.html. So then they go back to the bookmark, they don't get the page they were expecting- bad user experience.
Another main problem is that when the pages get picked up by the search engines, then will probably be linking to the individual frames. A user finds your site on Google and links to page c.html. But c.html doesn't have any navigation links (because they're all in b.html), so the user thinks you have just a 1 page site- another bad user experience.
Both pitfalls can be avoided with workarounds. But the workarounds often require more work than just making non-framed pages in the first place.