把 head.htm 的 <form>与</form>之间的代码,替换为以下代码:
<form name=bf onSubmit="bottomForm();return false;">
<script>
function bottomForm(){
var $=document.bf.key.value;
if(document.bf.sto[0].checked)window.open("./plus/search.php?kwtype=0&keyword="+$,"a1");
if(document.bf.sto[1].checked)window.open("?q1="+"&q6=www.5loveb.com","a2");
if(document.bf.sto[2].checked)window.open("?hl=zh-CN&q="+"&as_sitesearch=www.5loveb.com","a3");
// if(document.bf.sto[3].checked)window.open("?id=1&search="+$,"a4");
// if(document.bf.sto[4].checked)window.open("?word="+$,"a5");
// if(document.bf.sto[5].checked)window.open("?kw="+"&submit=search","a6");
return false}
</script> <div class="form">
<h4>搜索</h4>
<!-- <input name="key" class="search-keyword" value="(输入搜索内容……)"> -->
<input name="key" class="search-keyword" value="(输入搜索内容……)" onfocus="if(this.value=='(输入搜索内容……)')
{this.value='';}" onblur="if(this.value==''){this.value='(输入搜索内容……)';}">
<input name=sto type=radio value="0" checked=true>本站内
<input name=sto type=radio value="1"><a href="">百度</a>
<input name=sto type=radio value="2"><a href="">Google</a>
<!-- <input name=sto type=radio value="3"><a href="">狗狗</a>
<input name=sto type=radio value="4"><a href="">地图</a>
<input name=sto type=radio value="5"><a href="">百科</a>
-->
<button type="submit" class="search-submit">搜索</button>
</div>
</form>
<form name=bf onSubmit="bottomForm();return false;">
<script>
function bottomForm(){
var $=document.bf.key.value;
if(document.bf.sto[0].checked)window.open("./plus/search.php?kwtype=0&keyword="+$,"a1");
if(document.bf.sto[1].checked)window.open("?q1="+"&q6=www.5loveb.com","a2");
if(document.bf.sto[2].checked)window.open("?hl=zh-CN&q="+"&as_sitesearch=www.5loveb.com","a3");
// if(document.bf.sto[3].checked)window.open("?id=1&search="+$,"a4");
// if(document.bf.sto[4].checked)window.open("?word="+$,"a5");
// if(document.bf.sto[5].checked)window.open("?kw="+"&submit=search","a6");
return false}
</script> <div class="form">
<h4>搜索</h4>
<!-- <input name="key" class="search-keyword" value="(输入搜索内容……)"> -->
<input name="key" class="search-keyword" value="(输入搜索内容……)" onfocus="if(this.value=='(输入搜索内容……)'){this.value='';}" onblur="if(this.value==''){this.value='(输入搜索内容……)';}">
<input name=sto type=radio value="0" checked=true>
本站内 <input name=sto type=radio value="1"><a href="">百度</a>
<input name=sto type=radio value="2"><a href="">Google</a>
<!-- <input name=sto type=radio value="3"><a href="">狗狗</a>
<input name=sto type=radio value="4"><a href="">地图</a>
<input name=sto type=radio value="5"><a href="">百科</a>
-->
<button type="submit" class="search-submit">搜索</button>
</div>
</form>
其中,“” 换成你自己的独立域名。
在线客服