爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
一个漂亮的DIV搜索条
一个漂亮的DIV搜索条
日期:2014-05-18 浏览次数:20205 次
以下是HTML网页特效代码,点击运行按钮可查看效果:
以下是程序代码
<!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"> <HTML> <HEAD> <TITLE>搜索条</TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> <style> /*basic*/ *{padding:0;margin:0;color:#000;font:12px/20px Arial,Sans-serif,"宋体";} /*elements*/ .clear{clear:both;height:0px;overflow:hidden;} ul,li,ol{list-style-type:none;list-style-position:outside;} button,.btnNormal{height:22px;line-height:18px;padding:0 9px!important;padding:0 5px;} a{color:#0042ff;text-decoration:underline;} a,a *{cursor:pointer;} a img{border:0;} .searchTool{float:left;width:520px;} .searchTool .searchExtend{float:left;line-height:24px;_padding-top:5px;} .searchTool .radio{vertical-align:middle;margin-left:10px;margin-right:2px;*margin-right:0;} .searchTool .txtSearch{float:left;width:232px;padding:2px 2px 0 2px;height:20px;line-height:20px;vertical-align:bottom;border:1px solid #3e99d4;} .searchTool .selSearch{float:left;width:60px;background:#fff;height:22px;line-height:22px;border:1px solid #3e99d4;border-left:0;} .searchTool .nowSearch{float:left;width:40px;height:20px;line-height:22px;overflow:hidden;padding-left:4px;} .searchTool .btnSel{float:right;border-left:1px solid #3e99d4;width:14px;height:22px;} .searchTool .btnSel a{background:url(http://static.youku.com/v1.0.0217/index/img/btn_sel.gif) no-repeat center center;display:block;width:14px;height:22px;} .searchTool .btnSel a:hover{background:url(http://static.youku.com/v1.0.0217/index/img/btn_sel_over.gif) no-repeat center center;border:1px solid #fff;width:12px;height:20px;} .searchTool .selOption{z-index:9999;position:absolute;margin-left:-1px;width:60px;background:#fff;border:1px solid #3e99d4;} .searchTool .selOption a{display:block;height:21px;padding-left:5px;line-height:21px;color:#000;text-decoration:none;} .searchTool .selOption a:hover{color:#fff;background:#95d5f1;} .searchTool .btnSearch{float:left;margin-left:10px;width:58px;height:22px;line-height:22px;border:1px solid #3e99d4;overflow:hidden;} .searchTool .btnSearch a{background:url(http://static.youku.com/v1.0.0217/index/img/bg_nav_option.gif) repeat-x center -6px;display:block;text-decoration:none;height:22px;line-height:22px;overflow:hidden;} .searchTool .btnSearch a:hover{background:url(http://static.youku.com/v1.0.0217/index/img/bg_nav_option_over.gif) repeat-x center center;border:1px solid #fff;height:20px;line-height:20px;} .searchTool .btnSearch .lbl{cursor:pointer;display:block;width:40px;padding-left:5px;letter-spacing:5px;text-align:center;height:18px;padding-top:1px;margin:0 auto;filter:progid:DXImageTransform.Microsoft.DropShadow(color=#daeefa,offX=1,offY=1,positives=true);} .searchTool .btnSearch a:hover .lbl{padding-top:0px;} </style> <script> function drop_mouseover(pos){ try{window.clearTimeout(timer);}catch(e){} } function drop_mouseout(pos){ var posSel=document.getElementById(pos+"Sel").style.display; if(posSel=="block"){ timer = setTimeout("drop_hide('"+pos+"')", 1000); } } function drop_hide(pos){ document.getElementById(pos+"Sel").style.display="none"; } function search_show(pos,searchType,href){ document.getElementById(pos+"SearchType").value=
上一篇:狡猾的按钮特效
下一篇:漂亮的loading加载效果特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
酷派首抓4G时机大丰收,未来份额必降无疑
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
一个非脑残米粉的思考:小米“成功之道”如何炼成
京东进驻微信一级入口或影响自身战略布局
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
HTC曝出特大丑闻:高管诈骗+商业间谍
传三星为赢得新兴市场:推廉价版Note3
盘点改变社会的15种科技:谷歌眼镜将使我们成为半机械人
雅安地震 绝不宽恕应用人们爱心的骗子!
推荐阅读
更多>
HDS发布《2013中国CIO洞察白皮书》
清点:罗永浩推锤子ROM 小米打法遭模拟
神州电脑中止IPO面前:再被质疑财务造假
中电信国际漫游费下调85% 世界杯上网28元/天
工商总局开查电商“七日退货”
苹果App Store被大量刷榜:iTunes账号成帮凶
史上最严电话实名制9月实行 三大难题待解
FDD牌照短期不会发放 联通电信暗自提速建网
小米移动芯片:英伟达退出,终会加强与联发科合作
世界杯让耐克阿迪大打出手 谁能劈开用户大脑?
中兴引进黑莓三个核心团队
地图导航骤起杀机 百度高德重新定义商业模式
中移动落马高管盘点:广东移动成反腐重地
诺基亚仍是第二大手机商:功用机有利可图
电信设备商淘金中国4G:华为中兴领衔
打车软件竞争白热化:有冷兵器时代意味
从WPS到office365,中国企业能否赶超美国?
阿里巴巴450亿勾画“现代服务业”藏宝图
微软大幅调整Bing在华策略:从高大上到接地气
智能手机:中国手机市场最受关注十五款产品清点