安防系统维护:怎样在首页上直接文字搜索

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 10:19:48
我想在首页上直接打上要搜索的内容,比如:农业 工业 服务业,然后点击它就可以到达标题包含这个词的搜索页面,现在其它的东西都做好了,连接的页面为so.asp,请问首页上代码应该怎样写,最好能直接给写出来,不胜感谢。
原首页搜索的asp;
<td align=center height=26 >
<form method="post" action="so.asp">站内搜索:
<input type="radio" name="sotype" value="1" checked>标题
<input type="text" name="word" size="20" style="background-image:url('img/go.gif');background-position:center left;background-repeat:no-repeat;padding:3px 0 0 20px;height:22px;color:'#999999';COLOR: #0000ff; BACKGROUND-COLOR: #ffffff; border-bottom: #333333 1px solid; border-left: 0px; border-right: 0px; border-top: 1px; color: #333333; cursor: text; font-family: Arial; font-size: 9pt; height: 20px; value=" 请填入您的内容">

<input type="submit" value="搜索" name="B1">
</form>

不能只显示概要。除非你在贴图前,有500字的文字说明。另外文章摘要显示字数共有四个选项:
1.全部;
2.500字;
3.1000字;
4.2000字。