首页
资源
专题
注册
|
登录
当前位置:
网站首页
> 资源显示
html
搜索框(表格布局)demo2
发布时间:
2017/5/2 21:41:24 /
最后修改:
2017-5-2 21:44:05 /
浏览:
680
用到的素材:
完整代码 (代码框可以往下拉高显示):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #999999; } body,td,th { font-family: "微软雅黑"; font-size: 13px; } .sobox{ background-color: #FFF; display: block; height: 27px; width: 250px; border: 1px solid #CCC; margin-top: 29px; margin-right: auto; margin-left: auto; } .sobox .skey{ border: none; outline: medium; background-attachment: scroll; background-color: #FFFFFF; background-repeat: no-repeat; background-position: 0 0; line-height: 25px; height: 25px; width: 213px; float: left; color: #CCCCCC; text-align: left; text-indent: 5px; } .sobox .sgo{ float: left; height: 25px; width: 35px; border: none; outline: medium; } </style> </head> <body> <div class="sobox"> <form action="" method="post" name="topsofrom" id="topsofrom" onSubmit="return CheckTopSoForm();"> <input type="text" class="skey" name="soba" id="soba" value="请输入关键词查询!" onfocus="if (value =='请输入关键词查询!'){value =''}"onblur="if (value ==''){value='请输入关键词查询!'}"/> <input name="submit" type="image" src="images/so.jpg" width="35" height="25" border="0" class="sgo" /> </form> <div class="deldf"></div> </div> </body> </html> <script language="JavaScript" type="text/JavaScript"> function CheckTopSoForm(){ if(document.topsofrom.soba.value.length==0 || document.topsofrom.soba.value=="请输入关键词查询!") { alert("请输入搜索关键字!"); document.topsofrom.soba.focus(); return false; } } </script>
附件资源(免费)
您尚未登录,暂时无法查阅资源!
立即登录
插播广告区
发表评论
您尚未登录,暂时无法发表评论。
立即登录
暂无任何评论
推荐专题
更多专题
框架-插件集
ASP独立功能案例
ASP上传组件范例
编辑器插件详解
在线支付接口开发
常用广告轮换组件
常用在线客服组件
网页布局效果范例
ASP函数库汇总
ASP知识点详解
推荐资源
更多 >>
1
asp连接sqlite数据库代码!
2
ASP违禁词批处理V1.0_acces
3
关于height100和height1
4
aspJpeg_ASPS水印组件(安装
5
正文多图预览组件2(Viewer.js
6
正文多图预览组件(fancybox)
7
UNION多表联合查询,多表联合搜索问
8
jq隐藏table中的tr或td,防止
9
SQLServer2008数据库复制,
10
CSS解决长串英文字母显示不能自动换行
付费资源
更多 >>
1
ASP违禁词批处理V1.0_acces
2
A标签实现多选框赋值(限定选择个数)
3
云片网(短信验证码接入案例-ASP版本
4
模块选择(N个模块多选,每个模块可以选
5
多参数检索URL的参数处理(多条件查询
6
kindeditor_编辑器实战经验总
7
选择不同产品自动切换价格,价格切换JS
8
会员图像上传组件,flash上传头像剪
9
会员注册-登录-改密功能_gb2312
10
程序伪静态,URL静态化处理
广告区
CopyRight © 2017 www.kaifaku.cn All Rights Reserved - 版权所有 © 开发库 (所有资源来源于实战项目,拿来即用)
付费资源请联系 QQ:2633993818 / E-MAIL:2633993818@qq.com 本站免费分享资源不提供免费咨询