Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search Box Integration


patrickbailey1

Recommended Posts

Posted

I am integrating a non-osCommerce template that has a built in search box...obviously, it doesn't work straight out of the code because its not set up in osCommerce style...Here is the code that i have:

 

<td valign="top"><img src="images/a22.jpg"></td>
	 <td valign="top" style="background-image: url('images/a30.jpg'); background-repeat: repeat-x;" width="100%">
   <form action="" method="post">
   <table cellpadding="0" cellspacing="0" border="0" width="100%">
   <tr>
  	 <td><img src="images/spacer.gif" width="8" height="1"></td>
  	 <td valign="top" width="100%"><input type="text" class="text" align="right" size="24" maxlength="32" name="search"></td>
  	 <td valign="top"><input type="image" src="images/a26.jpg" border="0"></td>
  	 <td><img src="images/spacer.gif" width="11" height="1"></td>
   </tr>
   </table>
   </form>
	 </td>

If you look at my page My Webpage you'll see the search box. a22 is the "search" text, a30 is background, but a26 is the "go" button which i'd like to use in place of the "button_quick_find". I've looked at mattice's code and a few others but can't seem to edit them correctly and keep getting parse errors trying to make my go button work and taking out the advanced search link and other things...Does anyone know how to make the correct code from the code above that has just a go button and a search box? I would be forever in your debt!!!

 

Patrick

Patrick Bailey

www.DisplayHaven.com

Posted

Click on the "skin-reloaded" link in my signature. Download the second package on the page. It's a clean searchbox for the header.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...