Please look at the left menu here
I only want a drop down for the catagory of Browse by Brand and I cannot seem to get it to work. Here is the code for that section. Can any one look and make a suggestion. I did not write the original code I am trying to adjust it to what I need for this shopping cart.
<!-- BROWSE PRODUCTS -->
<xsl:if test="boolean($WSMenuStyle='Standard')">
<table id="menu">
<tr>
<td class="tblhead">Browse</td>
</tr>
<xsl:for-each select="IAMStoreMenu/Category">
<tr>
<td > <xsl
aram name="myLink" select="./Name"/>
<a href="/CategoryProductList.jsp?cat={url:encode(string($myLink),string('UTF-8'))}">
<strong>
<xsl:value-of select="./Name"/> </strong></a> </td>
</tr>
<xsl:for-each select="./Category">
<tr>
<td >
<xsl
aram name="mySubLink" select="./Name"/>
- <a href="/CategoryProductList.jsp?cat={url:encode(string(../Name),string('UTF-8'))}:{url:encode(string($mySubLink),string('UTF-8'))}">
<xsl:value-of select="./Name"/>
</a> </td>
</tr>
</xsl:for-each>
<xsl:if test="boolean(./Category != 'BROWSE BY BRAND')">
<tr><td>
<form>
<select name="cat" id="cat" onchange="MM_jumpMenu('parent',this,0)">
<xsl:for-each select="./Category">
<xsl
aram name="mySubLink" select="./Name"/>
<option value="/CategoryProductList.jsp?cat={url:encode(string(../Name),string('UTF-8'))}:{url:encode(string($mySubLink),string('UTF-8'))}"> <xsl:value-of select="./Name"/> </option>
</xsl:for-each>
</select>
</form>
</td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</xsl:if>
I only want a drop down for the catagory of Browse by Brand and I cannot seem to get it to work. Here is the code for that section. Can any one look and make a suggestion. I did not write the original code I am trying to adjust it to what I need for this shopping cart.
<!-- BROWSE PRODUCTS -->
<xsl:if test="boolean($WSMenuStyle='Standard')">
<table id="menu">
<tr>
<td class="tblhead">Browse</td>
</tr>
<xsl:for-each select="IAMStoreMenu/Category">
<tr>
<td > <xsl
<a href="/CategoryProductList.jsp?cat={url:encode(string($myLink),string('UTF-8'))}">
<strong>
<xsl:value-of select="./Name"/> </strong></a> </td>
</tr>
<xsl:for-each select="./Category">
<tr>
<td >
<xsl
- <a href="/CategoryProductList.jsp?cat={url:encode(string(../Name),string('UTF-8'))}:{url:encode(string($mySubLink),string('UTF-8'))}">
<xsl:value-of select="./Name"/>
</a> </td>
</tr>
</xsl:for-each>
<xsl:if test="boolean(./Category != 'BROWSE BY BRAND')">
<tr><td>
<form>
<select name="cat" id="cat" onchange="MM_jumpMenu('parent',this,0)">
<xsl:for-each select="./Category">
<xsl
<option value="/CategoryProductList.jsp?cat={url:encode(string(../Name),string('UTF-8'))}:{url:encode(string($mySubLink),string('UTF-8'))}"> <xsl:value-of select="./Name"/> </option>
</xsl:for-each>
</select>
</form>
</td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</xsl:if>