Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have implemented pdcalendar successfully but now i want to show tooltip which show content of specific event.
i have implemented tooltip temporary with static text but now i want to show content of specific event here is my code
<xsl:template name="createOneCell"> <xsl:param name="cell"/> <td><xsl:value-of select="date:dayinmonth($cell/@date)"/> <xsl:for-each select="$cell/event"> <a href="{umbraco.library:NiceUrl(@id)}" onMouseOver="toggleDiv('{umbraco.library:NiceUrl(@id)}',1)" onMouseOut="toggleDiv('{umbraco.library:NiceUrl(@id)}',0)"> <xsl:value-of select="umbraco.library:GetXmlNodeById(@id)/@nodeName"/> </a> <div id="{umbraco.library:NiceUrl(@id)}" class="divshowhide"> testing <xsl:value-of select="."/> </div> </xsl:for-each> </td></xsl:template>
is there anyone who can help me out to get content of event in div and show it as tooltip. thanks
got solution
<xsl:value-of select="umbraco.library:Item(@id, 'content')" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
how to get content in pdcTableCalendar??
Hi,
I have implemented pdcalendar successfully but now i want to show tooltip which show content of specific event.
i have implemented tooltip temporary with static text but now i want to show content of specific event here is my code
<xsl:template name="createOneCell">
<xsl:param name="cell"/>
<td><xsl:value-of select="date:dayinmonth($cell/@date)"/>
<xsl:for-each select="$cell/event">
<a href="{umbraco.library:NiceUrl(@id)}" onMouseOver="toggleDiv('{umbraco.library:NiceUrl(@id)}',1)" onMouseOut="toggleDiv('{umbraco.library:NiceUrl(@id)}',0)">
<xsl:value-of select="umbraco.library:GetXmlNodeById(@id)/@nodeName"/>
</a>
<div id="{umbraco.library:NiceUrl(@id)}" class="divshowhide">
testing
<xsl:value-of select="."/>
</div>
</xsl:for-each>
</td>
</xsl:template>
is there anyone who can help me out to get content of event in div and show it as tooltip. thanks
got solution
<xsl:value-of select="umbraco.library:Item(@id, 'content')" />
is working on a reply...