Double header.htm

G

Guest

Site: kelsey-kane.com. Problem: This is a "frames" site. The header is fine when you first open the site. When you move to another page via a hyperlink (say "Products") the header remains correct. Then click on "Home Page" and the content in the header is doubled! There is only one "header.htm" file. The html version of the header page appears to only have one set of code, not two. This might be part of the problem: The index page file is somehow named "index.html". Shouldn't the extension be "htm" like all the other files? When I went to change the file extension, the warning stopped me from doing so. How do I eliminate the double header and should I change the file extension on the index file?
 
A

Andrew Murray

please post the URL.

Kelsey said:
Site: kelsey-kane.com. Problem: This is a "frames" site. The header is fine
when you first open the site. When you move to another page via a hyperlink (say
"Products") the header remains correct. Then click on "Home Page" and the
content in the header is doubled! There is only one "header.htm" file. The html
version of the header page appears to only have one set of code, not two. This
might be part of the problem: The index page file is somehow named "index.html".
Shouldn't the extension be "htm" like all the other files? When I went to change
the file extension, the warning stopped me from doing so. How do I eliminate the
double header and should I change the file extension on the index file?
 
M

Mark Fitzpatrick

The Home Page link is a link to the frameset that holds the frame design and
initial pages. So, when you link back to this page, it will then open the
entire frameset inside the current frame. The header isn't necessarily being
duplicated, it's actually the entire frameset where you have your frameset
with the home page now in the content frame. To get around this, set the
target for the link that leads to the home page to _top. What this will do
is load the linked frameset to the top of the hierarchy, over-writing the
current frameset.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

Kelsey said:
Site: kelsey-kane.com. Problem: This is a "frames" site. The header is
fine when you first open the site. When you move to another page via a
hyperlink (say "Products") the header remains correct. Then click on "Home
Page" and the content in the header is doubled! There is only one
"header.htm" file. The html version of the header page appears to only have
one set of code, not two. This might be part of the problem: The index page
file is somehow named "index.html". Shouldn't the extension be "htm" like
all the other files? When I went to change the file extension, the warning
stopped me from doing so. How do I eliminate the double header and should I
change the file extension on the index file?
 
G

Guest

Thank you, Mark. Your solution worked. Any thoughts on the file extension discrepancy?
 
G

Guest

Thank you, Mark. Your solution worked. Any thoughts on the file extension discrepancy I mentioned?
 
S

Steve Easton

The html file extension is normal for the home or index page on a server.
When you publish, FrontPage checks the server for what it requires and then automatically renames
the home page to index.html ( or default.html if that is what the server requires )
It will only do this for the index.htm page that is in the "root" of your web. If you have another
folder with an index.htm page in it, the server and FrontPage will leave it alone.

What I normally do is rename my local copy of index.htm ( Home page )to index.html which can save
some quirks when publishing updates.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top