This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Linking to "Home" in Website TOC
- From: Steinar Bang <sb at dod dot no>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 23 Feb 2004 20:25:25 +0100
- Subject: [docbook-apps] Linking to "Home" in Website TOC
- Cancel-lock: sha1:dy8P6l1lETW5eTdM1GAYuSh0gww=
- Organization: Probably a good idea
Platform: Intel PII, debian sarge (testing/unstable),
docbook-website 2.4.0-6
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>
This seemed to work at first, until I visited a page in a
subdirectory. Then clicking on the "Home" link only took me to the
same page.
So I tried
<tocentry id="go_home" filename="index.html">
<title>Home</title>
</tocentry>
and then
<tocentry id="go_home" dir="." filename="index.html">
<title>Home</title>
</tocentry>
Both gave the same results as the first attempt, ie. linking to the
index.html file in the current directory.
Does anyone have an idea for a workaround, or a simpler way to
accomplish what I'm trying to do?
Thanx!
- Steinar
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.