Re: [xsl]Putting Mouseover Javascript Script in XSLT?

Subject: Re: [xsl]Putting Mouseover Javascript Script in XSLT?
From: Alice Ju-Hsuan Wei <ajwei@xxxxxxxxxxx>
Date: Wed, 5 Sep 2007 06:41:58 -0400
Hi, Guys:

Thanks to all of you who helped me with this. Here is the code now, and it works!

<xsl:template match="graphic">
- <a>
 <xsl:attribute name="href"></xsl:attribute>
 <xsl:attribute name="target">_blank</xsl:attribute>
 <xsl:attribute name="onmouseover">mouseOver()</xsl:attribute>
 <xsl:attribute name="onmouseout">mouseOut()</xsl:attribute>
- <img>
 <xsl:attribute name="src"> BG008.jpg</xsl:attribute>
- <xsl:attribute name="alt">
 <xsl:value-of select="./@alt" />
- <xsl:attribute name="name">
 <xsl:value-of select="./@name" />
 <xsl:attribute name="border">0</xsl:attribute>
 <xsl:call-template name="id" />
 <xsl:call-template name="rend" />


Current Thread