In our last episode,
<k4******************************@comcast.com>,
the lovely and talented Viken Karaguesian
broadcast on comp.infosystems.
www.authoring.html: Hello all,
I'm making a calendar section in a website. Each month is its own page and
navigated by Previous / Next links. I have it working now with standard
hyperlinks, but I want to learn how to use Link Rel and Link Rev commands to
do the navigation.
At the W3C website it shows how to use the Link Rel and Link Rev in the
<head> section:
<HEAD>
...other head information...
<TITLE>Chapter 5</TITLE>
<LINK rel="prev" href="chapter4.html">
<LINK rel="next" href="chapter6.html">
</HEAD>
(copied and pasted from the site)
But, how do I make the associated hyperlinks in the body?
You just said you had it working with standard hyperlinks.
Those are the ones in the body. Are they working or not?
Some browsers make links from the LINK elements in the head.
Others don't. You cannot control what the browser makes of such
links.
The details for that aren't clear to me . I'm not sure of it's
usable for that at all. It seems like it may only be for
search engines and other search capabilities to index a site's
heirarchy.
Yes, "browser" is commonly just a shorthand word for "user
agent," and that includes search engines. They may or may not
use the LINK elements to traverse sets of documents - or for
other purposes. You cannot control what the browser does with
this information.
Also, how to I make a hyperlink that goes nowhere, like a dead end? I
basically want the hyperlink "look" but if someone was to click on it, it
should just go nowhere.
What does that mean? How do you "go nowhere." If you just want
to be deceiptful and produce something that looks like a link,
but isn't, you can put it in a SPAN of a class that you then
style to look like an A element. If you want to cover the case
of a user who overrides your styling for A elements, you could
put it in A NAME with a class that you style like A HREF.
I'll be using a mouseover tool-tip effect on it instead. I've
seen <a href="#"> used, but when I use it snd click, I get a
directory tree. How would I do that?
Perhaps you could post a URL for a document that does this.
Whether you get a directory listing or not and when you do is
highly dependant on how your server is configured. If the
server allows this at all, you could try linking to a directory
that doesn't have any default document as defined in the server
configuration (i.e., no index.html, index.htm, index.shtml, etc.
- the list depending upon the server configuration). Most
servers can be configured to disallow directory listings
altogether. As there are differences in the way browsers
present directory listings, you probably cannot dummy up a
"directory listing" page that will look like the real thing in
all browsers.
--
Lars Eighner
us****@larseighner.com http://www.larseighner.com/
Bac'n Bits: Humans don't know it's not bacon!