Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl]Putting Mouseover Javascript Script in XSLT? [Thread Next] Re: [xsl]Putting Mouseover Javascript Script in XSLT?To: Date: 9/5/2007 10:42:00 AM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
