This is a simple jquery plugin that allows the page target element to "Fixed" at the top of the browser window, even if the page is scrolling, the target element can still appear in the set position. This plugin can be used on multiple pages of the site, but also on a single page to implement navigation functions. Scroll through the current page to see the effect of the navigation bar.
You can now load the JavaScript files contained in Stickup into your page. Copy the following code and paste it to the bottom of the page. Make sure that the path to the JavaScript file is correct.
Next, paste the following copy of the code into the bottom of the page and place it under the Stickup file that you introduced earlier. Alternatively, you can also put the following code in the existing JavaScript file (this file must also be under the Stickup file). Replace '. Navbar-wrapper ' with the class name of the target element.
It's so easy!
See http://www.bootcss.com/p/stickup/for more detailed features
The above describes the Stickup a jQuery plug-in, including the aspects of the content, I hope the PHP tutorial interested in a friend helpful.