[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Putting Mouseover Javascript Script in XSLT?

Subject: Re: Putting Mouseover Javascript Script in XSLT?
From: Alice Ju-Hsuan Wei <ajwei@xxxxxxxxxxx>
Date: Wed, 5 Sep 2007 06:41:58 -0400
Re: Putting Mouseover Javascript Script in XSLT?
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.