Click here to get back home

Highlighting a Link Destination

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Highlighting a Link Destination Dave White 03-10-2007
Get Chitika Premium
Posted by Dave White on March 10, 2007, 10:25 pm
Please log in for more thread options


Hello everyone,

Is there some way to highlight the destination of a link such as a
definition tag:

        <dt><a name="Definition">Definition</a></dt>

Thanks in advance,
Dave White

Posted by John Hosking on March 11, 2007, 12:52 am
Please log in for more thread options


Dave White wrote:
>
> Is there some way to highlight the destination of a link such as a
> definition tag:
>
>         <dt><a name="Definition">Definition</a></dt>

I'm not at all clear on what you want. Do you mean that you want the
link to be not just blue and underlined, but also have yellow background
(or something similar) on it?

--
John

Posted by Dave White on March 11, 2007, 6:49 am
Please log in for more thread options


On Sun, 11 Mar 2007 06:52:51 +0100, John Hosking

>Dave White wrote:
>>
>> Is there some way to highlight the destination of a link such as a
>> definition tag:
>>
>>         <dt><a name="Definition">Definition</a></dt>
>
>I'm not at all clear on what you want. Do you mean that you want the
>link to be not just blue and underlined, but also have yellow background
>(or something similar) on it?

I would like to highlight the target of the link

I have a group of terms without definitions in a menu.
These terms all link to their definitions on the same page.

When I click on a link the Term and its definition come into view but
you can also see other terms and definitions.

I would like to highlight the particular term I have selected.

Thanks,
Dave White

Posted by Jukka K. Korpela on March 11, 2007, 6:26 pm
Please log in for more thread options


Scripsit Dave White:

> When I click on a link the Term and its definition come into view but
> you can also see other terms and definitions.
>
> I would like to highlight the particular term I have selected.

That's a natural idea, but there's really no way to implement it in HTML or
CSS. One might think that the destination anchor is "active" at that point,
but current browsers don't interpret the :active pseudo-class in CSS that
way.

On the other hand, normally the destination anchor is positioned at the top
of the canvas ("top of window", loosely speaking), unless it is near the end
of the page. Usually people learn to recognize the top of the canvas as the
place to which the link refers, but admittedly the situation is not clear at
all.

I guess this is one of the reasons for splitting, say, a definition list
into a collection of pages, with a single definition on a page.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


Posted by Dave White on March 11, 2007, 6:36 pm
Please log in for more thread options


On Mon, 12 Mar 2007 00:26:14 +0200, "Jukka K. Korpela"

>Scripsit Dave White:
>
>> When I click on a link the Term and its definition come into view but
>> you can also see other terms and definitions.
>>
>> I would like to highlight the particular term I have selected.
>
>That's a natural idea, but there's really no way to implement it in HTML or
>CSS. One might think that the destination anchor is "active" at that point,
>but current browsers don't interpret the :active pseudo-class in CSS that
>way.
>
>On the other hand, normally the destination anchor is positioned at the top
>of the canvas ("top of window", loosely speaking), unless it is near the end
>of the page. Usually people learn to recognize the top of the canvas as the
>place to which the link refers, but admittedly the situation is not clear at
>all.
>
>I guess this is one of the reasons for splitting, say, a definition list
>into a collection of pages, with a single definition on a page.

Thanks for your input. It would be a nice feature but I can certainly
live without it.

A single definition on a page might be worth it in the long run.

Thanks again,
Dave White

Similar ThreadsPosted
highlighting an accesskey April 16, 2008, 8:54 am
Syntax highlighting in TEXTAREA - possible? October 22, 2005, 4:59 pm
Highlighting image button January 14, 2007, 10:59 pm
Simple table row highlighting - on mouseover October 13, 2004, 10:02 am
Dynamic image which is highlighting/increasing the text/area when the curser moves over it? July 20, 2006, 1:45 am
html link from browser link to xml editor September 9, 2004, 5:53 am
link (rel and rev) September 28, 2004, 10:29 am
Link Question October 3, 2004, 9:54 pm
CSS link rollover bug in IE 5 Mac October 15, 2004, 5:58 pm
problem with link ? November 9, 2004, 2:00 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap