ISMAILC
01-15-2008, 07:22 AM
Hi, I'm using this HTML code to set my tooltip.
I get it working in HTML then i incorporated it in xslt.
I got it to work for only the first field value then i realized i was not changing the "DIV ID" value to point to the ttip_<xsl:value-of select='@name' />
This is the HTML example:
<a href="http://www.dynamicdrive.com/style/" rel="balloon1">??</a>
<div id="balloon1" class="balloonstyle">Test</div>
The rel="balloon1" is equal to the div id="balloon1"
I get the Rel in the xslt going but can't connect with the DIV ID as it moans about the code in bold!
<a>
<xsl:attribute name='href'>ajax.htm</xsl:attribute>
<xsl:attribute name='rel'>ttip_<xsl:value-of select='@name' /></xsl:attribute>??
</a>
<div id="ttip_<xsl:value-of select='@name'/>" class="balloonstyle">
<xsl:value-of select="Tooltip" />
</div>
Please Assist!
I get it working in HTML then i incorporated it in xslt.
I got it to work for only the first field value then i realized i was not changing the "DIV ID" value to point to the ttip_<xsl:value-of select='@name' />
This is the HTML example:
<a href="http://www.dynamicdrive.com/style/" rel="balloon1">??</a>
<div id="balloon1" class="balloonstyle">Test</div>
The rel="balloon1" is equal to the div id="balloon1"
I get the Rel in the xslt going but can't connect with the DIV ID as it moans about the code in bold!
<a>
<xsl:attribute name='href'>ajax.htm</xsl:attribute>
<xsl:attribute name='rel'>ttip_<xsl:value-of select='@name' /></xsl:attribute>??
</a>
<div id="ttip_<xsl:value-of select='@name'/>" class="balloonstyle">
<xsl:value-of select="Tooltip" />
</div>
Please Assist!