Re: [xsl] hyper-link in XSL

Subject: Re: [xsl] hyper-link in XSL
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Tue, 2 Oct 2001 13:46:48 +0200
On Tue, Oct 02 '01 at 19:03, laurence_zhang wrote:
> The following in XSL will get a link of the title text:
> <a class="Title" href="javascript:ClickTitle({$TitleNumbers})"><xsl:value-of select="@TITLE"/></a>
> 
> But I want to get the link of a rectangle area including the title text in it.
While this is no XSL-T question at all, but html, here is an answer.

This will only work with more recent browsers:

<a class="Title" href="javascript:ClickTitle({$TitleNumbers})"><div><xsl:value-of select="@TITLE"/></div></a>

-- 
Goetz Bock                                              IT Consultant
Dipl.-Inf. Univ.

Attachment: pgp00007.pgp
Description: PGP signature

Current Thread