Lokasi:homepage > Kod kesan khas JS > Muat dan muat naik

jQuery dan Bootstrap menatal lapisan halaman tetap plugin

2020-06-25 183jumlah tontonan
pinBox is a simple fixed element jjQuery plug-in combined with the Bootstrap framework. When the page scrolls down, you can specify that the div remains at a fixed position. Parameter attribute Top: the distance from the top of the container when the element is fixed, the default is 0. Container: The jQuery selector of the container, the default value is .container. ZIndex: The z-index attribute of the element, the default value is 20. MinWidth: The minimum width of the viewport. When it is smaller than this width, the element is no longer fixed. The default value is 767 pixels. Events: callback events.