Skip to content Skip to sidebar Skip to footer

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:attributename="href">#inline_DTRXMLInfo_<xsl:value-ofselect="@MemberNumber"/></xsl:attribute><divid="inline_DTRXMLInfo_{$MemberNumber}"class="fancysize"><xsl:call-templatename="DTRXMLInfo"><xsl:with-paramname="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"