Plugin jQuery: “Scroll To Top Then Fixed” Effect With jQuery

“Scroll To Top Then Fixed” Effect With jQuery
http://www.jqueryrain.com/?http://demosthenes.info/blog/130/Scroll-To-Top-Then-Fixed-Effect-With-JQuery
http://demosthenes.info/blog/130/Scroll-To-Top-Then-Fixed-Effect-With-JQuery
17/10/2012

Nội dung

“Scroll To Top Then Fixed” Effect With jQuery

Of late there has been a UI trend of page elements (usually navigation items) that scroll with the rest of the page until they reach the top of the browser window. At this point those elements stop moving, while the rest of the page’s content continues to scroll up behind them. This trick – referred to variously as “scroll to top then fixed” or “fixed floating elements” can’t be achieved with CSS alone, at least at this stage; we must integrate some JavaScript (for this example, in the form of JQuery) to pull the effect off.


Nguồn: www.jqueryrain.com/2012/10/scroll-to-top-then-fixed-effect-with-jquery/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận