This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: hyper-link in XSL



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.

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]