IE6支持position:fixed最完美方案
来源:互联网 发布:手机获取电话号码软件 编辑:程序博客网 时间:2024/06/06 03:49
原文:http://onewww.net/blog/article.asp?id=96
IE7已经支持position:fixed了,而我们的IE6呢?还继续使用js事件?消耗资源,破坏结构,画面闪耀。今天去一老外站看到了这他站上的十分平滑但却没有js,好奇,原来。。巧妙啊,分享下,相对而言比较节省资源。但效果好,使用方便,兼顾w3c。哈哈
<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]><link rel="stylesheet" href="ie-stuff.css" type="text/css" media="screen"/><![endif]-->
ie-stuff.css
#footer {
position: absolute;
bottom: auto;
clear: both;
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop
+(documentElement.clientHeight-this.clientHeight) - 1
: document.body.scrollTop
+(document.body.clientHeight-this.clientHeight) - 1);
}
效果 http://bassistance.de/jquery-plugins/jquery-plugin-validation/
- IE6支持position:fixed最完美方案
- IE6支持position:fixed最完美方案
- 完美解决IE6不支持position:fixed
- 完美解决IE6不支持position:fixed…
- 完美解决IE6不能兼容position:fixed
- 完美解决IE6不能兼容position:fixed
- css解决ie6 不支持 position:fixed方案
- 让IE6也支持position:fixed
- ie6支持position:fixed之js方法:
- 完美解决IE6不支持position:fixed的bug
- 完美解决IE6不支持position:fixed的bug
- 完美解决IE6不支持position:fixed的bug
- 完美解决IE6不支持position:fixed的bug
- 完美解决IE6不支持position:fixed的bug
- CSS 仿position:fixed做的对联,完美兼容IE6
- 完美解决IE6不支持position:fixed的bug
- 完美解决IE6不支持position:fixed的bug
- 超完美解决ie6不支持position: fixed的bug
- java面试100题(二)
- VS2003 安装部署3
- 参加了feedsky的博客大赛
- VS2003 安装部署4
- 专家系统介绍
- IE6支持position:fixed最完美方案
- How to help people switch to Linux?
- asp.net中数据库的备份与js的验证示例
- VS2003 安装部署5
- 读书笔记
- oracle数据字典小结
- Eclipse快捷键指南
- 贪吃蛇 垃圾版 已经完成~~~耶~~~拿出来秀秀
- Windows API一日一练(57)CopyFile和MoveFile函数