Plugin used to control the main header functionalities:
body.header-scroll-reveal
reveal on scroll up and hide on scroll down
body.header-sticky
always visible (#top_bar
will autohide like .header-scroll-reveal do)
body.header-over
header over next block (slider/cover/image)
* Classes applied to <body>
.
Available Combinations:
body.header-over + body.header-scroll-reveal
body.header-over + body.header-sticky
* NOTE: if .header-sticky + .header-scroll-reveal
are both used, .header-scroll-reveal
is ignored!
#header
is the id used and cannot be changed!
This plugin is optional, if none of these functionalities are used, can be removed!
/*
:: Plugin File
src/js/sow.core/sow.header.js
:: Plugin Init
*/ $.SOW.core.header.init();