Simple, easy yet very useful and configurable sticky header / fixed header plugin.
简单,简单但非常有用且可配置的粘性标头/固定标头插件。 p>
Just specify class name in options page and it gets sticky!.
只需在选项页面中指定类名称,它就会变得很粘!! p>
Available Options:
可用选项: h4>
- Header Class: Enter class name of your header or nav element that you want to make sticky.
- 标题类:输入要粘贴的标题或导航元素的类名。 li>
- Animate: This brings header into display with animation type that you select below, default is ‘Fade In’.
- 动画:以下面选择的动画类型显示标题,默认值为“淡入”。 li>
- Animation Type: Transition style for header when it becomes sticky
- 动画类型:页眉变粘时的过渡样式 li>
- Shadow: Header will have shadow when it becomes sticky
- 阴影:当标题变粘时,标题将具有阴影 li>
- Sticky Already: Makes header sticky when page loads
- 已粘贴:在页面加载时使标头变粘 li>
ul>
Please Note
请注意 h4>
Make sure your header’s z-index’s value is high enough to not get overlapped by other elements on the page.
确保标题的z-index值足够高,以免与页面上的其他元素重叠。
**Example: **
**示例:**
.header-class { z-index: 9999;
.header-class {z-index:9999;
}
} p>
If you have suggestions for a new add-on, feel free to email me at danishiqbalscorpio@gmail.com
如果您有关于新插件的建议,请随时发电子邮件至danishiqbalscorpio@gmail.com p>