爱易网
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 浏览次数:20143 次
以下是程序代码
<!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特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
盛大游戏走向衰落的根源:免费游戏模式惹的祸
中移动业绩增长趋缓 目光转向海外市场
迪信通神秘免费服务揭谜底:充电宝免费带回家
科技巨匠体验谷歌眼镜:戴上了就不想摘上去
广电地方营业厅的一句“罚停”,暴露出了他们的本质
568倍PE,“长跑者”亚马逊的高估值之谜
“合聚变”来了 UC优视确认并入阿里巴巴
让一让,小米4来了,碰见米粉请务必绕道走!
京东终于想明白,这些年错过的财运,都藏在女人的时装下
推荐阅读
更多>
成本效益全兼顾 混合云市场前景显现
微信企业号必须搬走四座大山,否则只能铩羽而归!
史玉柱谈创业:5大建议 失败的教训最真实
支付宝被曝严重破绽 隐私平安再受质疑
中国首台比特币ATM登陆上海 可购买不可兑换现钞
湖南卫视扶持芒果TV杀入媒体:版权独播不分销
电话用户9月实名制:运营商监管受质疑
淘宝公布新规:升级售假卖家惩罚力度
论:三大运营商运用商店逆袭并非不能够
火狐手机发展前路:或被运营商绑架
优酷土豆携手新浪微博 谋攻移动视频失地
苹果大中华区业绩回暖 中移动贡献或低于预期
NEC拟出售移动效劳子公司NEC Mobile
OPPO Find7体验测 Find7综测
说说这一个月的赌球输了多少
苹果音乐效劳新战略:与唱片商停止流媒体协作
《归来》遭视频网盗播 乐视网状告小米盒子侵权
传谷歌开发者大会发布Android 4.3 并非5.0版本
固话上网卡或将实名制 运营商泄露用户信息将被罚
如家撤离同程内情:祸起反水OTA“联盟”?