This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Linking to "Home" in Website TOC
- From: "Kevin Dunn" <kdunn at hsc dot edu>
- To: <docbook-apps at lists dot oasis-open dot org>, Steinar Bang <sb at dod dot no>
- Date: Wed, 25 Feb 2004 08:04:24 -0500
- Subject: Re: [docbook-apps] Linking to "Home" in Website TOC
- Reply-to: <kdunn at hsc dot edu>
---------- Original Message ----------------------------------
From: Steinar Bang <sb@dod.no>
Date: Mon, 23 Feb 2004 20:25:25 +0100
>I'm trying to create a link for "Home" in the TOC. The first thing I
>tried, was:
> <tocentry id="go_home" href="./index.html">
> <title>Home</title>
> </tocentry>
>
It sounds like you are trying to duplicate the banner link, which is already in the toc by default. Clicking on the banner at the top of the toc already takes you home from any page in the website. But if you really need to do this, you need to give the absolute address rather than the relative one:
> <tocentry id="go_home" href="/index.html">
> <title>Home</title>
> </tocentry>
>
or, if your website is not the root directory of your server:
> <tocentry id="go_home" href="/mywebsite/index.html">
> <title>Home</title>
> </tocentry>
>
--
Kevin M. Dunn
Professor of Chemistry
Hampden-Sydney College
--
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.