织梦5.6的默认搜索框是这样子的,包括站内搜索、google搜索。
内容……)"> -->
<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="http://www.baidu.com">百度</a>
<input name=sto type=radio value="2"><a href="http://www.google.cn">Google</a>
<!--<input name=sto type=radio value="3"><a href="http://www.gougou.com">狗狗</a>
<input name=sto type=radio value="4"><a href="http://map.baidu.com">地图</a>
<input name=sto type=radio value="5"><a href="http://baike.baidu.com">百科</a>-->
<button type="submit" class="search-submit">搜索</button>
</div>
</form>
|
替换之后的效果是这样子的
注:其中,“blog.sina.com.cn”换成你自己的独立域名。
(责任编辑:admin)