爱易网
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 浏览次数:20149 次
以下是程序代码
<!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特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
中移动一季度净利大降:手机补贴增长过快
首家国有独资P2P平台上线 或预示政策日渐明朗
支付宝全面封杀比特币:充值码淘宝店或遭封禁
中方抗议美方限购IT设备 紧张关系加剧
诺基亚仍是第二大手机商:功用机有利可图
运营商补贴减少 国内通信业拐点逼近
解析2014年阿里百度等五大互联网巨头深度布局
苹果已经允许开发者提交64位应用程序
微软为避免代理权争夺 与大股东达成和解协议
推荐阅读
更多>
互联网情色众多 Facebook与9158态度大不同
蘑菇街CEO陈琪:2015将回归社会化电商
盘点改变社会的15种科技:谷歌眼镜将使我们成为半机械人
华为、小米和联想在中国手机市场上演“三国杀”
十亿美元的告别礼:三星为何要大举重组?
郭美美事件推手被抓 “秦火火”拷问网络底线
传三星为赢得新兴市场:推廉价版Note3
京东联席董事长赵国庆上市前夕离职
工商总局开查电商“七日退货”
全球网络遭史上最大规模攻击:攻击数据每秒300G
从WPS到office365,中国企业能否赶超美国?
中电信率先推移动转售业务 中下旬批量上市
联想架构调整后:Think品牌或推智能手机
戴尔正告继续上市存风险 称黑石伊坎方案有缺乏
微软最后的救命稻草Win 8份额继续上升
App Store严禁推送广告 运用面临大清洗
亚马逊落户上海自贸区:美国货直邮中国
百度吴恩达:图像和音视频搜索是人工智能新方向
小米年度发布会遭围剿!多款新品难阻品牌危机
在线音乐出现“小米公司”不是没有可能