首页 > CMS > 动易CMS > 正文

在首页选择GOOGLE搜索中文时反馈的关键词为乱符

2024-09-10 21:53:46
字体:
来源:转载
供稿:网友

问题:在首页选择GOOGLE搜索中文时,在GOOGLE搜索结果页反馈的关键词为乱符,如何解决?如:
http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q=" websearch.key.value,"mspg6");
改成
window.open("http://bbs.powereasy.net/http://www.google.com/search?hl=zh-CN&inlang=zh-CN&ie=GB2312&oe=GB2312&q=" websearch.key.value,"mspg6' target=_blank>http://www.google.com/search?hl=zh-CN&inlang=zh-CN&ie=GB2312&oe=GB2312&q=" websearch.key.value,"mspg6");
即可。

附:
原模板中的搜索代码:
<table class=border cellSpacing=0 cellPadding=0 vAlign=center>
<script>
function search4()
{
if(websearch.google.checked)
window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q=" websearch.key.value,"mspg6' target=_blank>http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q=" websearch.key.value,"mspg6");
if(websearch.baidu.checked)
window.open("http://www1.baidu.com/baidu?tn=site5566&word=" websearch.key.value,"mspg9' target=_blank>http://www1.baidu.com/baidu?tn=site5566&word=" websearch.key.value,"mspg9");
if(websearch.sina.checked)
window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey=" websearch.key.value,"mspg0' target=_blank>http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey=" websearch.key.value,"mspg0");
if(websearch.sohu.checked)
window.open("http://site.search.sohu.com/sitesearch.jsp?page_index=0&key_word=

共4页上一页1234下一页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表

图片精选