帝王谷资源网 Design By www.wdxyy.com
本文实例讲述了jQuery下拉美化搜索表单效果。分享给大家供大家参考。具体如下:
JQuery下拉美化搜索表单样式代码是一款美化下拉框的表单,样式已写好,需要的朋友改一下就可以用了。
运行效果图:-------------------查看效果-------------------
小提示:浏览器中如果不能正常运行,可以尝试切换浏览模式。
为大家分享的jQuery下拉美化搜索表单效果代码如下
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery下拉美化搜索表单样式代码</title> <link href="css/base.css" type="text/css" rel="stylesheet" /> <style type="text/css"> /* search */ .search{border:2px solid #f58400;height:35px;margin:40px auto 0 auto;width:525px;} .search select{display:none;} .search .select_box{font-size:12px;color:#999999;width:100px;line-height:35px;float:left;position:relative;} .search .select_showbox{height:35px;background:url(images/search_ico.png) no-repeat 80px center;text-indent:1.5em;} .search .select_showbox.active{background:url(images/search_ico_hover.png) no-repeat 80px center;} .search .select_option{border:2px solid #f58400;border-top:none;display:none;left:-2px;top:35px;position:absolute;z-index:99;background:#fff;} .search .select_option li{text-indent:1.5em;width:90px;cursor:pointer;} .search .select_option li.selected{background-color:#F3F3F3;color:#999;} .search .select_option li.hover{background:#BEBEBE;color:#fff;} .search input.inp_srh,.search input.btn_srh{border:none;background:none;height:35px;line-height:35px;float:left} .search input.inp_srh{outline:none;width:365px;} .search input.btn_srh{background:#f58400;color:#FFF;font-family:"微软雅黑";font-size:15px;width:60px;} </style> </head> <body> <div class="search radius6"> <form name="searchform" method="post" action="/e/search/index.php"> <input name='ecmsfrom' type='hidden' value='9'> <input type="hidden" name="show" value="title,newstext"> <select name="classid" id="choose"> <option value="0">搜索全部</option> <option value="1">新闻中心</option> <option value="4">技术文档</option> <option value="22">下载中心</option> </select> <input class="inp_srh" name="keyboard" placeholder="请输入您要搜索的作品" > <input class="btn_srh" type="submit" name="submit" value="搜索"> </form> </div> <script type="text/javascript" src="/UploadFiles/2021-04-02/jquery-1.8.3.min.js">以上就是为大家分享的jQuery下拉美化搜索表单样式代码,希望大家可以喜欢。
帝王谷资源网 Design By www.wdxyy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
帝王谷资源网 Design By www.wdxyy.com
暂无评论...
更新日志
2024年10月25日
2024年10月25日
- 群星2013-青春缤纷辑压箱宝大公开3CD2[新加坡限量版][WAV整轨]
- 林育群.2013-BalladShow(日本版)【环球】【WAV+CUE】
- 陈加洛.1992-痛到感觉不到【宝丽金】【WAV+CUE】
- 群星.2023-宿命之敌电视剧原声带【韶愔音乐】【FLAC分轨】
- 東京事変-大発見[FLAC+CUE]
- 椎名林檎-三文ゴシップ[FLAC+CUE]
- 2024年08月04日
- 裘德《裘德「最后的水族馆」演唱会LIVE》[320K/MP3][228.89MB]
- 裘德《裘德「最后的水族馆」演唱会LIVE》[24bit 48kHz][FLAC/分轨][2.08G]
- 基因三重奏《如果你什么都不说 音乐会现场录音》[320K/MP3][145.37MB]
- 孟庭苇.1996-月亮说话(2020环球24KGOLD限量版)【上华】【WAV+CUE】
- 群星.1997-新艺宝优质音响系列·国语精选监听版【新艺宝】【WAV+CUE】
- 阿桑.2005-寂寞在唱歌(星外星引进版)【华研国际】【WAV+CUE】
- 基因三重奏《如果你什么都不说 音乐会现场录音》[FLAC/分轨][287.43MB]
- 蔡题谦《我爱你,却依然要看你走》[320K/MP3][88.65MB]