The example of this article describes the JS to achieve compatibility, automatic sticky Taobao suspended toolbar effect. Share to everyone for your reference. Specifically as follows:
This is a good compatibility, Taobao suspended toolbar automatically, if you scroll to the top of the scroll, then it will automatically determine whether to the top, and then has been set up so not afraid of occlusion, in fact, understand this idea, you can lift a return to three, a demonstration to see the effect.
The screenshot of the running effect is as follows:
The online demo address is as follows:
http://demo.jb51.net/js/2015/js-tb-float-top-tools-menu-codes/
The specific code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
The
wants this article to help you with your JavaScript programming.