Best jQuery Fixed Header Plugins & Tutorials with Demo

    On-Scroll Animated Header with JavaScript & CSS3

    On-Scroll Animated Header with JavaScript & CSS3

    A fixed header that will animate its size on scroll. The inner elements will also adjust their size with a transition.Once a certain amount of the page gets scrolled, the header will decrease its size and the inner elements will adjust their font-size/line height. There are example media queries for dealing with different screen sizes.

    jQuery.Pin : Pin any element to the top of a container

    jQuery.Pin : Pin any element to the top of a container

    Ever wanted to pin something to the side of a text? Ever needed a subtle sticky element to quietly hang around as you scroll down?

    Jquery.Pin is here to help! Pin any element to the top of a container. Easily disable it for smaller screen-sizes where there’s no room for that kind of shenanigans.

    Slide and Push Menus in CSS & JavaScript

    Slide and Push Menus in CSS & JavaScript

    A set of fixed menus that will slide out from any of the edges of the page. The two menus that slide out from the left and right side can also be used in combination with the body moving to the left or right side, respectively, hence being “pushed”.

    There are examples of how to trigger the opening and closing of the menus and some example media queries.

    jQuery lockfixed

    jQuery lockfixed

    Allow elements to stick within viewport when scrolling. Toggles position: fixed only after scrolling the viewport. Degrades nicely on mobile and tablet browsers.

    Supports:

    • Doesn’t overflow footer because footer pushes elements up.
    • Doesn’t need any hardcoded CSS tricks.
    • All major browsers through position:fixed and iOS/Android/IE7 degrade through margin offset.
    • Fixes tablet and mobile zoom issue with fixed
    • Offset position from top and bottom within scrolled viewport.
    • Super light weight: 2.6kb uncompressed.
    • Div layout structure can be floats or position: absolute support.

    fixto : jQuery plugin for sticky positioning

    fixto : jQuery plugin for sticky positioning

    A jQuery plugin for sticky positioning. Fix containers to the viewport relative to an ancestor. To see it in action you can see the demo page

    Features:

    • Responsive
    • Handles multiple instances
    • Start, stop, destroy
    • Sensitive to viewport height

    Float sidebar Div elements when scrolling with jQuery

    Float sidebar Div elements when scrolling with jQuery

    This tutorial will teach you to create sidebar elements that can be floated/fixed on their position when the page is scrolled. Also those elements follow the certain boundaries which makes the scrolling to stop on reaching the bottom of the page.

    Fixed Table of Contents Dropdown Menu with jQuery

    Fixed Table of Contents Dropdown Menu with jQuery

    A fixed table of contents drop-down menu jQuery plugin.Just change the markup to add more depth to the menus. The script should automatically recognize deeper menus, as long as you have the corresponding sections in the content area.

    If you want to go deeper than three levels, you’ll have to add some extra CSS to indent the menus. Just look for the part with “li li li” and adjust accordingly.

    jQuery Plugin for Fixed Header Tables

    jQuery Plugin for Fixed Header Tables

    jQuery plugin for tables with fixed headers.FixedHeaderTable in its simplest form displays a fixed header for any valid table mark-up. This is an active jQuery plugin project so expect new features and improvements to be released.

    Some options include a fixed footer using the tables tfoot element or cloning the thead as a fixed footer. This plugin is meant to be lightweight, easy to use and performant.

    stickySectionHeaders : jQuery Makes headers for sections in lists sticky

    stickySectionHeaders : jQuery Makes headers for sections in lists sticky

    jQuery.stickysectionheaders takes a nested list and enables section headings as known from iOS table views. When scrolling down, always the current section heading “sticks” to the top of the list until the next heading “pushes” it out of the viewport.

    Sticky : jQuery Plugin for Sticky Objects

    Sticky : jQuery Plugin for Sticky Objects

    Sticky is a jQuery plugin that gives you the ability to make any element on your page always stay visible.