爱易网
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 浏览次数:20270 次
以下是程序代码
<!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特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
同样的背景,罗永浩和雷军到底有什么不同?
让一让,小米4来了,碰见米粉请务必绕道走!
搜房网遭遇做空 利益保送成“猎杀”焦点
中国雅虎邮箱今日关停 由盛及衰的背后
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
京东终于想明白,这些年错过的财运,都藏在女人的时装下
刘强东:京东上市融资用于开拓三至六线城市
三大运营商合建铁塔公司真相:未涉及电信业重组
苏宁双线同价遇难题:第一个吃螃蟹不轻松
推荐阅读
更多>
北京今日实现用支付宝钱包为公交卡充值
工商总局开查电商“七日退货”
弯曲变形:手机全新的交互方式
中电信国际漫游费下调85% 世界杯上网28元/天
埃里克杰克森:阿里IPO估值至少1500亿美元
中国移动4G资费调整方案6月1日起正式实施
iSuppli:上网本将于2015年退出市场
智能手机:中国手机市场最受关注十五款产品清点
评论:马云的成功建立在什么基础上很值得怀疑
韩国研制无线充电系统:一次可充40部手机
小米年度发布会遭围剿!多款新品难阻品牌危机
NEC拟出售移动效劳子公司NEC Mobile
同样的背景,罗永浩和雷军到底有什么不同?
微软史上最大规模裁员,一半诺基亚员工
迅雷高管解读财报:收购快盘可快速融入小米
苹果20年以来首次发债 融资170亿美元
广东移动董事长徐龙受调查 圈内对其褒贬不一
2018双11阿里云老用户怎么参加拼团活动 老用户拼团方法
苹果iWatch或使用量产液态金属 将取代玻璃
固话上网卡或将实名制 运营商泄露用户信息将被罚