Latest items added:
Simple Audio Clickable Dropdown Crossfade SliderFull Component List:
Accordion Alert / Callout Another Lightbox Gallery Audio Player with Playlist Auto Sidebar Backbutton Basic Form Before/After Comparison Buttons Clickable Dropdown Collapsible Alert Contact Form Count-down Script Crossfade Slider CSS Parallax Cut-out Text Decorative Background Details/Summary Classes Drilldown Menu Dropdown Buttons Easy Mega Menu Easy Modal Gallery Equal Height Columns Filtered Portfolio Flip-cards Glossary Table Hamburger Menu HTML Quiz Horizontal Tabs Flex Image Gallery Image Modal Image Shapes Image Slider with Fade Jquery Parallax Lazy Loading Lightbox Gallery Magnifying Glass Masonry Grid Gallery Mega Menu Modal Optimal Image Sizes Oval Image PHP Includes Range Slider Read More Button Responsive Card Table Responsive Navbar Responsive Shrinknav Responsive Sidebar Responsive Table Round Image Scroll to Top Searchbox Simple Audio Simple Cards Simple Shapes Simple Slider Skill Bars Slide-in Nav Sticky Mega Menu Sticky Navbar Sticky Vertical Menu Subnav in Dropdowns Tabbed Gallery Tab Navigation Text on Image Translucent Image Translucent Text Layer Vertical Tabs Video Video Scroller Wrapping Text Years Completed Zebra Striped Table
The sticky menu has been built the same way as the one called 'Easy Mega Menu'. The submenus have initially a height of 0px. When the group buttons are clicked on, they get a height of 'auto' to show the submenu items. As soon as the mouse leaves those buttons again, the height gets back to none.
The menu har a top picture (can be swapped for a logo or something else), and when scrolling down the page this picture will be scrolled out of sight, but the menu will stay visible at the top. However, this will kick in only when the viewport is wider than 670px. That is to enable scrolling the menus on devices like smart-phones.
In order to enable scrolling at all, the page has to have enough content to make it scroll. The best thing is to use the container '.rest-of-page' (where this text is) and pop your page contents in there. Then you don't risk interfering with the menu. And you can set a min-height on that container, like e.g. 100vh.
If you don't want to have the menu bar go right across the page, you can change the width of the class '.full-page' (line 6 in the 'sticky-mega-menu.css).
If you need more pages, you'll have to to create them yourself. A good idea is to start by duplicating the index page.
Download the component.