The following checks if there is a customer testimonial assigned to a product and, if so, creates a link from the product page to the testimonial (with a unique id 'testimLink')
<xsl:variable name="testimLink" select="$currentPage/data [@alias = 'testimLink']" />
<xsl:if test="$currentPage/@nodeTypeAlias = 'testimLink'">
<a href="/testimonials.aspx?t=t{$testimLink}">Customer Testimonial</a>
</xsl:if>
The testimonials are all on a separate page in an accordian menu (click on an item and it expands) so what I need to be able to do is expand the testimonial with the 'testimLink' passed in the URL.
I thought I could do this using jQuery but I'm not sure how to pass the function to a new page?
Can anyone help me out?
Thanks.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/25416-open-an-accordian-item-in-a-new-page-specific-to-value-in-url