CSS动态表达式

样式:style:expression(脚本)

 如:

 1 _top: expression(this.offsetHeight);

 1 _top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||200)-(parseInt(this.currentStyle.marginBottom,10)||0))); 

 

posted @   flyfishing  阅读(358)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示