In comp.infosystems.
www.authoring.site-design message <1178388784.
288800.157100 (AT) y5g2000hsa (DOT) googlegroups.com>, Sat, 5 May 2007
11:13:04, John Dunlop <john (AT) dunlop (DOT) name> posted:
Quote:
How you would show that a link leads away from a site? Maybe
you would just say so, but I'm after something more subtle, some
stylesheet rule I can apply to external links. |
In <URL:http://www.merlyn.demon.co.uk/uksumtim.htm> I do it with
titles: # for other site, + for other page, . for same page - e.g.
<a href="datelinx.htm" title="+">...</a>.
When the mouse-pointer reaches a link, it turns into a hand. If
it is a titled link, a cuff soon appears with a cuff-link showing
the potency of the link. The cut of the shirt is browser-
dependent.
It seems possible to scan a document onLoad with javascript and
modify the style of external links or add a title :
for (j in document.links) { X = document.links[j]
// if (X.protocol == "http:") X.style.background = "white" }
if (X.protocol == "http:") X.title = "#" }
On my Home Page, external links are bold and in-page ones italic.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.