PC-博客首页中增加必应或GOOGLE搜索功能

 <script type="text/javascript" language="javascript">
function SearchGoogle(parm,path){
form1.action='http://cn.bing.com/search?q='+parm+'+site:'+path;
form1.submit();
}
</script>
<form name="form1" method="post" action="?" target="_blank">
<div align="left" style="top: 0px; position: relative;">
<nobr>
<input name="q" id="q" style="width: 96px;" type="text" />
<input name="sa" style="width: 96px; font-size: 12px;" onclick="SearchGoogle(document.getElementById
('q').value,'http://www.cnblogs.com/FKdelphi/')" type="button" value="搜索本博客">
<br />
<br />
</nobr>
<nobr>
<input name="sa" style="width: 96px; font-size: 12px;" onclick="SearchGoogle(document.getElementById
('q').value,'http://bbs.2ccc.com/')" type="button" value="搜索盒子论坛">
<input name="sa" style="width: 96px; font-size: 12px;" onclick="SearchGoogle(document.getElementById
('q').value,'http://csdn.net/')" type="button" value="搜索 CSDN">
<br />
</nobr>
</div>
</form>
<nobr>
</nobr>
上一篇:2.python基础之—列表,元组,字典,集合,字符串的使用方法


下一篇:Selenium 基本元素操作(参考)