登录 | 注册 | FAQ
Anonymous

Seacrh Box problem

+ 发表回复

2 篇帖子 分页: 1 / 1


Seacrh Box problem

softman » 周四 7月 10, 2014 7:38 am

Hello, I have a free template which i downloaded and it has the search box at the top right angle of the page. I want to have the search box search for content within my site.

I have tried to replace action="#"> with action="www.google.com"> but it will only search google and it completely went out of my website.

The following code for the search box:

<div class="form-search">
<form id="form-search" method="GET" action="#">
<input type="text" value="Search Product..." onBlur="if(this.value=='') this.value='Type here...'" onFocus="if(this.value =='Type here...' ) this.value=''" />
<a href="#" class="search_button"></a>
</form>
</div>
头像

softman

  • 帖子: 1
  • 注册: 周三 7月 09, 2014 1:21 pm

Re: Seacrh Box problem

XainPro » 周四 7月 10, 2014 12:55 pm

it will not work as you expected there are only 2 ways to implement search 1 to code it in server side language i.e php
2 use google search plugin
i think using google search plugin would be easy for you
checkout this google plugin here

https://www.google.com/cse/create/new
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm


+ 发表回复

分页: 1 / 1