RE: Another approch to style hyperlinks

I think the link2 (link-secondary?) property should include a sting
argument. In the case that the UA implements it using a popup menu, it
needs something to show on that menu.
Otherwise, great idea.

Jeffrey Yasskin

> -----Original Message-----
> From: www-style-request@w3.org 
> Sent: Thursday, September 27, 2001 3:35 PM
> Subject: Re: Another approch to style hyperlinks
> 
<snip/>
> 
> In fact, I could start right here, and echo something that 
> somebody showed me recently and that looks quite interesting:
> 
>   Name:       link1
>   Values:     <selector>? attr(<name>) | none
>   Initial:    none
>   Applies to: all elements
>   Inherited:  no
> 
>   Name:       link2
>   Values:     <selector>? attr(<name>) [ , <selector>? 
> attr(<name>) ]* | none
>   Initial:    none
>   Applies to: all elements
>   Inherited:  no
> 
> 'Link1' is the normal kind of hyperlink, the one you activate 
> with the left mouse button. 'Link2' gives secondary 
> hyperlinks, the ones for which you have to do something 
> special, such as shift-click or right click.
> 
> Example:
> 
>     a { link1: attr(href) }
>     img { link2: attr(longdesc) }
>     blockquote { link2: attr(cite) }
> 
> For secondary links there is typically a pop-up menu, and 
> thus it is possible to have multiple secondary links.
<snip/>

Received on Thursday, 27 September 2001 20:26:34 UTC