Jump to content

Drop Down Menu


Guest becky

Recommended Posts

Hi,

I am trying to use my old drop down menu and need help making it work in CubeCart.

I have tried to use part of the URL I get when I try the "search for box"

<td class="search_brands_bar_td_1"><A title="Home" href="index.php"><IMG height="27" alt="Home" src="images/search_brands_home.gif" width="57" border="0"></A></td>

<td class="search_brands_bar_td_2"><IMG height="27" alt="Search" src="images/search_brands_search.gif" width="50" border="0">

<input name="WucTop1:txtSearch" type="text" id="WucTop1_txtSearch" onclick="this.value=''" value="Enter Keyword" /><input src="images/search_brands_go.gif" name="WucTop1:search_go" id="WucTop1_search_go" type="image" alt="Go" /></td>

<td class="search_brands_bar_td_3"><IMG height="27" alt="Shop By Brand" src="images/search_brands_by_brand.gif" width="117" border="0">

<select

class=search_by_brand_dropdown id=search_by_brand

onchange="window.document.location.replace('index.php?Search=' + forms.Form1.search_by_brand.value);"

name=search_by_brand>

<option value="Choose Brand" selected>Choose Brand</option>

<OPTION value="GUCCI">GUCCI</OPTION>

</select>

I am not sure what the path would be after the bold section, or if this would work with CubeCart at all. If someone could please help me finish my url or let me know if I am doing it all wrong, I would appreciate it.

Thanks,

Becky

Link to comment
Share on other sites

OK, I figured out how to do a drop box in Cube Cart. For all of you who want one also.

<form name="catform" action ="index.php" method="get" style="padding: 0px; margin: 0px;">

<input type="hidden" name="act" value="viewCat" />

<select name="searchStr" onchange="submit(this.form)">

<option value=''>by section</option>

<OPTION value="BLASS">Bill Blass</OPTION>

<OPTION value="VITTADINI">A. VITTADINI</OPTION>

<OPTION

</select>

</form>

Select your own category, manufacturer here

<OPTION value="VITTADINI">A. VITTADINI</OPTION>

Vittadini is what CubeCart is going to look for and A.Vittadini is how it is going to show on your website

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...