爱易网
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特效
仿淘宝商品列表顶部浮动工具栏菜单特效
仿淘宝商品列表顶部浮动工具栏菜单特效
日期:2014-05-18 浏览次数:20254 次
以下是程序代码
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8" /> <title>fixed仿淘宝商品列表顶部浮动工具栏效果</title> <meta name="author" content="走起来" /> <meta name="copyright" content="爱易网网页特效演示 js.aiyiweb.com" /> <!-- style begin --> <style> * { padding: 0; margin: 0; } li { list-style: none; } img { border: none; } body {background:#fff;font: 12px/1.5 tahoma,arial,宋体b8b\4f53;} a{text-decoration:none;color:#36C;} a:hover {color:red;text-decoration: none;} .filter-tools-box {background-color: white;z-index: 90;width:750px;margin:0 auto;} .filter-follow{position:fixed;width:750px;top:0;left:50%;margin-left:-375px;} .filter-tools {height: 20px;padding: 7px 8px;color: #404040;background:#ddd;border: 1px solid #CCC;border-top: none;position: relative;z-index: 105; } .filter-tools li {display: inline;float: left;} .filter-tools .thumb-mode a {background:url('http://www.css3train.com/images/ico.png') no-repeat -79px -3px;} .filter-tools .mode a {display: block;width: 64px;height: 18px;overflow: hidden;padding: 0 0 0 20px;text-decoration: none;border: 1px solid #CCC;} .filter-tools .thumb-mode a:hover {background:url('http://www.css3train.com/images/ico.png') no-repeat -79px -20px;} .filter-tools .mode a:hover {color: #404040;border: 1px solid #308ED1;} .filter-tools .order {position: relative;z-index: 1;margin-left: 20px;} .filter-tools .order .label {height: 20px;margin-right: 4px;line-height: 20px;line-height: 22px 9;_line-height: 18px;} .filter-tools .order .label, .filter-tools .order .select-item {display: inline;float: left;color: #404040;} .filter-tools .order .select-item {width: 94px;} .filter-tools .order .item-list {left: 28px;width: 120px;} .item-list {display: none;position: absolute;top: 19px;left: 0;overflow: hidden;background: white;border: 1px solid #A6A6A6;} .filter-tools .order .item-list li {width: 100%;height: 22px;overflow: hidden;padding: 0;line-height: 22px;line-height: 24px 9;_line-height: 22px;border-bottom: 1px solid #D9E9FB;} .filter-tools .order .by-price-asc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -38px;} .filter-tools .order .by-price-desc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -59px;} .filter-tools .order .by-credit-desc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -78px;} .filter-tools .order .by-sale-desc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -97px;} .filter-tools .order .item-list .selected a {cursor: default;background-color: #EEE;} .filter-tools .order .item-list a:hover {background-color: #EEE;} .filter-tools .order .item-list a {display: block;width: 92px;margin: 1px 0;padding-left: 28px;text-decoration: none;color: black;} .filter-tools .way {margin-left: 20px;} .filter-tools .way .by-credit, .filter-tools .way .by-sale {background:url('http://www.css3train.com/images/ico.png') no-repeat -30px -13px;} .filter-tools .way .by-credit:hover, .filter-tools .way .by-sale:hover{background:url('http://www.css3train.com/images/ico.png') no-repeat -30px -49px;} .filter-tools .way a {display: inline;float: left;width: 42px;height: 18px;overflow: hidden;margin-right: -1px;padding: 0;text-indent: 5px;line-height: 18px;line-height: 20px 9;_line-height: 16px;border: 1px solid #CCC;} .filter-tools .way .by-price {background:url('http://www.css3train.com/images/ico.png') no-repeat -30px 4px;} .filter-tools .way .by-price:hover{background:url('http://www.css3train.com/images/ico.png') no-repeat -30px -32px;} .filter-tools .way a:hover,
上一篇:狡猾的按钮特效
下一篇:论坛帖子页面左下角的绝对定位浮动的导航条+返回顶部的JS特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
独立工具APP:为亿级用户的商业化而愁
窗口期:还有哪些互联网公司可能今年IPO?
想玩P2P?几个您必须知道的潜规则
全球最具“颠覆性”特质的公司排行榜TOP25
618首日看京东阿里不同策略,鹿死谁手?
美图手机2问世 三大问题令其市场销量堪忧
传搜狗估值12亿美元 与360谈判进入白热化
孙正义入股阿里往事还原:阿里巴巴并非软银首选
二代 iPad Air将配备2GB内存?为同屏多任务做准备
推荐阅读
更多>
论:三大运营商运用商店逆袭并非不能够
微软最后的救命稻草Win 8份额继续上升
苹果20年以来首次发债 融资170亿美元
优酷土豆兼并一年:依然处于烧钱形状
成本效益全兼顾 混合云市场前景显现
CSS控制字符长度和显示长度
国美在线叫板京东:李俊涛底气在哪?
亚马逊落户上海自贸区:美国货直邮中国
电信运营商员工涌入虚拟运营商,待遇差距多大?
扎克伯格华裔妻子首度亮相电视节目畅谈情史
阿里入股虎嗅:媒体的脊梁弯了?未必!
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?
谷歌新技术进入iOS平台:将叫板苹果Siri
诺基亚培育低端机市场 迂回战术要挟中华酷联
三星石墨烯制备技术获突破
高德百度地图免费背后:李彦宏暗斗马云周鸿祎
蜗牛移动董事长石海:号卡被叫停属乌龙事件
苹果30亿美元收购Beats
Google要求硬件厂商捆绑预装应用的协议曝光
三星已经将Galaxy S5视为失败之作?