半点优化网 http://www.bdxc.net/
当前位置首页 > 网站技术问题> 正文

谁有微软搜索代码(放在网页中的)?

2022-08-03 20:27:38 暂无评论 170 网站技术问题 微软   放在   代码

windows Live?

<td width=603 colspan=2 valign=top background=images/bg11.jpg bgcolor=#71B6E0><div align=center><div id=search>
<div id=searchBar>
<form id=searchform name=searchform action= onSubmit=return onSearch(event);>
<label for=q><img src= width=49 height=49><span class=STYLE7>Windows Live? <span class=STYLE8>Beta</span></span><br>
<em>键入搜索条件回车</em></label>
<label for=go> 搜索 </label><span class=sc><input class=q id=q name=q value=><input name=mkt value=zh-cn type=hidden><input name=FORM value=LIVSOP type=hidden>
</span>
</form>
</div>
<p>
<script>document.getElementById(q).focus();</script>
<span class=STYLE5>>>||<a href= onClick=return selectScope('web:zh-cn'); >     网页</a>     <a href= onClick=return selectScope('images:zh-cn'); > 图片 </a>    <a href= onClick=return selectScope('classifieds'); >分类信息</a>    ||<<</span></p>
</div>
<script language=JavaScript>
var searchform = document.getElementById(searchform);
var searchbox = document.getElementById(q);
var _scope=web:zh-cn;
var _scopes={'web':'','news':'','images':'','local':'','maps':'','qna':'','classifieds':'','web:zh-cn':'','images:zh-cn':'','feeds:zh-cn':''};

function onSearch()
{
if(typeof(_scopes[_scope]) != undefined)
{
searchform.action=_scopes[_scope];
}
else
{
searchform.action = ;
}
return true;
}

var scopesEl = document.getElementById(scopes);
function selectScope(scope)
{
_scope=scope;
if (scopesEl) for (var i=0; i < scopesEl.childNodes.length; i++) scopesEl.childNodes[i].className = ;
var el = document.getElementById(scope);
if (null != el)
{
el.className = selected;
}
onSearch();
searchform.submit();
return false;
}
</script></div> </td>

猜你喜欢