Create A Simple Modal Pop-up Window In XSLT
I am building a style sheet that has a few Members in the table. What I want is when I click on each Member a pop-up modal window to open with that Member's data which is in the XM
Solution 1:
Answer :
Since the Members are added to the stylesheet on the fly, we have to give <div>
inline_DTRXMLInfo a unique ID which can be achived by appending MemberNumber to the <div>
ID.
Code:
<xsl:attribute name="href">#inline_DTRXMLInfo_<xsl:value-of select="@MemberNumber"/></xsl:attribute>
<div id="inline_DTRXMLInfo_{$MemberNumber}" class="fancysize">
<xsl:call-template name="DTRXMLInfo">
<xsl:with-param name="Date Of Birth" select="DateofBirth"></xsl:with-param>
</xsl:call-template>
</div>
Post a Comment for "Create A Simple Modal Pop-up Window In XSLT"