|
Posted by Jukka K. Korpela on 09/11/07 18:55
Scripsit victoria.wong.jhu@gmail.com:
> I am designing a web page. I would like to differentiate two types of
> links: those to internal documents, and those hosted at an external
> location.
If you think it serves a useful purpose (rather than just the page owner's
own idea of classifying links that way), put something like "(external)" or
"(ext.)" or maybe <img alt="(external)" title="the preceding link refers to
a resource external to this site" class="ext" src="ext.gif" width="..."
height="..."> after each external link and put
@media print { .ext { display: none; } }
into your style sheet.
But think first! Will this help users, or just confuse them, or annoy them,
or be simply irrelevant?
> I have decided to do this by specifying different colors for
> each type of link.
Wrong idea. A natural one, but wrong. You won't be able to figure out a
system of colors that works. Remember that you would need at least 3 + 3
different colors, to maintain the vital distinction between different states
of links. More info:
http://www.cs.tut.fi/~jkorpela/www/links.html
But if you still "must" do it, you need to add class attributes to the
external (or internal) links and use CSS.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|