Products Navigation

General ShopSite user discussion

Products Navigation

Postby jarodgan » Tue May 15, 2007 4:04 am

Hi,

We are using the gradient template. How to change the product navigation column on the left. Instead of having all the product page listed there in ascending order, we like to have two drop down list to let customer select to browse by brand or by category.

Many thanks in advance.

Jarod Gan
www.procamera.com.my
jarodgan
 
Posts: 41
Joined: Sat Feb 10, 2007 12:40 am

Reply: Products Navigation

Postby ShopSite Lauren » Wed Jun 20, 2007 3:56 pm

The only way to do this is to add your own code to the template/area where you would like these drop down lists to appear. Below is some example code to setting this up:

Include the following in the <head> of your page/template:
-----------------------------------------------------------------------------------
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
-----------------------------------------------------------------------------------

Then where you would like the jump menu(s), you would set up your code similar to:
-----------------------------------------------------------------------------------
<select name="select" onChange="MM_jumpMenu('parent',this,0)">
<option selected>Browse By Brand</option>
<option value="Brand1.html">Brand 1</option>
<option value="Brand2.html">Brand 2</option>
<option value="Brand3.html">Brand 3</option>
<option value="Brand4.html">Brand 4</option>
</select>
-----------------------------------------------------------------------------------

-ShopSite Lauren
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 27 guests