Home > Article > Web Front-end > Discussion on the example of jQuery implementing intelligent floating positioning of layers during page scrolling_jquery
Brothers, you may encounter positioning problems, especially on blogs or Weibo, you will also see this effect, so when planning, the product staff will want the effect of others,,, and we, the hard-working people, need to achieve it. accomplish. . . . . There is no way, who made us the siege masters, let’s attack:
The rendering is as follows. When the scroll bar is pulled down, the black block TOP is 0; fixed display:
Code As follows: