xsl-list
[Top] [All Lists]

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

2007-09-05 03:42:00
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">http://www.google.com.com</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>
- <xsl:attribute name="name">
 <xsl:value-of select="./@name" />
 </xsl:attribute>
 <xsl:attribute name="border">0</xsl:attribute>
 </img>
 </a>
 <xsl:call-template name="id" />
 <xsl:call-template name="rend" />
 </xsl:template>

Alice

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--