Options Footer

S

salsweb

How do I create a footer or header that is on every page. The type of thing
that would have links such as login, contact, help, privacy policy, etc.?
 
T

Trevor Lawrence

From the Menu

Insert
Web Component
Included Content
Page

The page you select has the code you want included as a complete page, i.e.
it has the correct structure of
<html>
<head>
</head>
<body>
</body>
<html>

A example is on http://trevorl.mvps.org/ratec/ where the footer displays on
each page

The generated code is:-
<!--webbot bot="Include" U-Include="footer.html" TAG="BODY" startspan -->
<div id="footer">

<div style="float:left">
Copyright &copy; 2007 The Retired ACT Transport Employees Club Inc.</div>
<div align="right">
Last Updated: 20 July 2008</td>
</div>

</div>
<!-- === End div id="footer" === -->
<!--webbot bot="Include" i-checksum="52546" endspan -->

Note that what is included is everything between <body> and </body> on the
file "footer.html"

On this site, I also have an included sidebar, which has links such as you
want.
 
T

Trevor Lawrence

salsweb said:
how come it only says footer.html
http://salsweb.net is the site

Because footer.html is in the same folder as index.html.

Hence, no other reference is needed

I may look further at the site at a later date (it is 1745 now in OZ)
 

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