얘들 아, 내가 검색 바있어하고 잘 보이는,하지만 난 정말 내 사이트 전체를 검색 할 수 있도록하는 방법을 모른다 ... 여기 내 HTML 코드는 지금까지의 :내 검색 표시 줄을 실제로 작동 시키려면 어떻게해야합니까?
<form class="search2" method="get" action="default.html" />
<input class="search2" type="text" name="serach_bar" size="31" maxlength="255"
value="" style="left: 396px; top: 153px; width: 293px; height: 26px;" />
<input class="search1" type="submit" name="submition" value="Search" style=" padding-
bottom:20px; left: 691px; top: 153px; height: 23px" />
<input class="search2" type="hidden" name="sitesearch" value="default.html" />
미리 감사드립니다.
Google 사이트 검색을 사용하지 않으려면 서버 측 언어가 실제로 검색을 처리해야합니다. –
'window.location = 'http://google.com/?q=site:mysite.com+'+escape (document.getElementById ('searchbar ');) Google이 처리하도록하거나 SDK를 가져 가도록하십시오. –
Google 사이트를 독립적으로 만들어서 google one을 전달할 것으로 생각합니다! : L 하지만 나는 PHP 스크립트 또는 무언가가 필요 하겠지만 im은 그다지 좋아하지 않을 것이라고 생각합니다. PHP에서 ... – Sam