Google站内搜索代码
来源:互联网 发布:中序遍历的非递归算法 编辑:程序博客网 时间:2024/04/26 13:39
主要参数:q参数说明:搜索内容框sitesearch参数说明:指定是站内搜索(取值为网站地址)还是互联网搜索(取值为空)
代码如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Google站内搜索</title>
<style type="text/css">
<!--
.style1 {color: #0000FF}
-->
</style>
</head>
<body>
<div align="center">Google站内搜索</div>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="00" bgcolor="#3399FF">
<FORM action="http://www.google.com/custom" method="get" target="_blank"><tr><td>
<TABLE width="100%" border=0 cellPadding=1 cellSpacing=1><TR><TD bgcolor="#FFFFFF">
<INPUT name="q" size="50" maxLength="255">
<input type="radio" checked value="www.fanzny.com" name="sitesearch">本站
<input type="radio" value="" name="sitesearch">全部
<input type="submit" value="搜索" name="submit">
<input type="hidden" value="zh-CN" name="hl">
<input type="hidden" value="L:http://www.0086sex.com/images/0086SEX_LOGO.gif;LW:184;LH:101;S:http://www.fanzny.com;AH:left;GL:0;T:blank;VLC:#551A8B;" name="cof">
<input type="hidden" value="www.fanzny.com" name="domains"></TD>
</TR></TABLE></td></tr></FORM></table><BR>
</body>
</html>
cof参数说明:
L:结果页面顶部图片地址
LW:结果页面顶部图片宽度
LH:结果页面顶部图片高度
S:结果页面顶部图片键接地址
AH:顶部搜索栏显示位置(取值:left、center、right)
GL:顶部搜索栏样式(取值:0、1、2)
T:结果页面主颜色
VLC:第一个搜索结果标题颜色
domains参数说明:网站地址代码如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Google站内搜索</title>
<style type="text/css">
<!--
.style1 {color: #0000FF}
-->
</style>
</head>
<body>
<div align="center">Google站内搜索</div>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="00" bgcolor="#3399FF">
<FORM action="http://www.google.com/custom" method="get" target="_blank"><tr><td>
<TABLE width="100%" border=0 cellPadding=1 cellSpacing=1><TR><TD bgcolor="#FFFFFF">
<INPUT name="q" size="50" maxLength="255">
<input type="radio" checked value="www.fanzny.com" name="sitesearch">本站
<input type="radio" value="" name="sitesearch">全部
<input type="submit" value="搜索" name="submit">
<input type="hidden" value="zh-CN" name="hl">
<input type="hidden" value="L:http://www.0086sex.com/images/0086SEX_LOGO.gif;LW:184;LH:101;S:http://www.fanzny.com;AH:left;GL:0;T:blank;VLC:#551A8B;" name="cof">
<input type="hidden" value="www.fanzny.com" name="domains"></TD>
</TR></TABLE></td></tr></FORM></table><BR>
</body>
</html>
- Google站内搜索代码
- google站内搜索代码
- Google和百度、雅虎的站内搜索代码
- 实现google baidu yahoo soso ... 站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和Baidu的站内搜索代码
- 站内搜索 代码(Baidu,Google,Yahoo)
- google站内搜索
- 在Jdeveloper 上配置运行Struts
- 什么是SAP
- CSDN收集的实用功能和经典的javaScript代码(一)
- 注意招聘陷阱(zt)
- 考研的经历!
- Google站内搜索代码
- 计算抛物线方程
- 个人简历
- resume
- 这一刻,你不得不笑!
- 理念决定EAI的成败
- C#操作IIS(摘自CSDN上Terry著)
- win2000下tomcat中文乱码解决方案
- 如何连接oracle数据库及故障解决办法-总结