$("#grid5").stikify({rate: 3.4, cieling: -100});
just include jQuery, our stiky element plugin & you have juststikifiedit!
$("#grid4").stikify({floor: 100, rate: 1.6, cieling: -100, trans: true, rate: 3.4});
means:
The gridid - grid4will not go below 100px height, above -100px height, will get transparent with scroll. Itsscroll-ratewill be3.4 times normal scroll!项目主页: http://www.open-open.com/lib/view/home/1426488567054
查看更多关于让页面元素浮动位置不变:sticky-elements_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did113461