`
literary_fly
  • 浏览: 90403 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

百度代码搜索,谷歌搜索

阅读更多
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>百度代码搜索,谷歌搜索</TITLE>

<META content=text/html;charset=gb2312 http-equiv=Content-Type>

<STYLE>

body {background-color: #f5f6f7;}

#kw{font:16px Lucida Sans Unicode;height:1.8em;padding-top:1px}

#baidu{font:16px Lucida Sans Unicode;height:1.8em;width:8em}

#google{font:16px Lucida Sans Unicode;height:1.8em;width:4em}

form{

position:relative;

z-index:9;

}

.text {

width: 10cm;

}

#baidu.com {

width: 100%;

margin: 0px;

}

#baidus{

height: auto;

width: 100%;

margin-top: 50px;

margin-right: 150px;

margin-bottom: 180px;

margin-left: 150px;

}

#baidu5 {

width: 270px;

margin-top: 80px;

margin-right: 300px;

margin-bottom: 2px;

margin-left: 300px;

background-position: center;

clear: both;

}

.STYLE3 {font-size: 24px}

</STYLE>

</HEAD>

<BODY>

<div id="baidu.com">

<div id="baidu5" align="center"><a href="index.asp"><img src="baidu_logo.gif" alt="百度一下,你就知道" border="0"></a></div>



<div id="baidus">

      <FORM action=http://www.baidu.com/baidu?tn=ichuner_4_pg&amp;ie=utf-8&amp;word= name=f id="searchForm" target="_blank">

      <INPUT id=kw class="text" maxLength=100 size=20 name=wd>

      <INPUT id=baidu value=百度一下 type=submit>

      <INPUT id=google value=Google type=button name=button2 search="http://www.google.cn/search?hl=zh-CN&q=">

    </FORM>

</div>

<div style="text-align:center">

声名:本网页不含有任何商业目的,纯为个人爱好所做<br/>

<span class="STYLE3">&copy;baidu.com 2009 </span></div>

</div>

<SCRIPT type=text/javascript>

document.getElementById("button2").onclick = function(){

var q = document.getElementById("kw").value;

window.open(this.getAttribute("search").toString() + q);

}

</SCRIPT>

<SCRIPT>var w=document.searchForm.wd;function s(o){if(w.value.length>0){var h=o.href;var q=encodeURIComponent(w.value);if(h.indexOf("q=")!=-1){o.href=h.replace(new RegExp("q=[^&$]*"),"q="+q)}else{o.href+="?q="+q}}};(function(){if(new RegExp("q=([^&]+)").test(location.search)){w.value=decodeURIComponent(RegExp.$1)}})();if(navigator.cookieEnabled && !/sug?=0/.test(document.cookie)){document.write('<script src=http://www.baidu.com/js/bdsug.js?v=1.1.0.3><\/script>')};window.onunload=function(){};</SCRIPT><SCRIPT>w.focus()</SCRIPT>

<!--747f12c0acab797d--></BODY></HTML>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics