Fixed Sticky Header scrolling in JQuery Example

Today, We want to share with you Fixed Sticky Header scrolling in JQuery Example.In this post we will show you Fixed sticky header when scrolling, hear for smooth sticky header on scroll jquery we will give you demo and example for implement.In this post, we will learn about Facebook Style Scroll Fixed Header in JQuery with an example.

Fixed Sticky Header scrolling in JQuery Example

There are the Following The simple About Fixed Sticky Header scrolling in JQuery Example Full Information With Example and source code.

As I will cover this Post with live Working example to develop sticky header on scroll jquery, so the fixed header on scroll html for this example is following below.

Fixed sticky header when scrolling

The HTML Part

	<script type="text/javascript" src=""></script>
	<title>jQuery Examples - Scroll Fixed Header like Facebook in JQuery -</title>

<div id="header_part">
	<h1>Simple Scroll Fix Header like Facebook in JQuery</h1>

<p>Create A Facebook Like Sticky Sidebar - jQuery Examples<br/><br/><br/><br/><br/></p>
<p> jQuery Fixed Header - Fixed Position Div Plugin with Examples<br/><br/><br/><br/><br/></p>
<p>jquery - CSS and HTML5 for this fixed header on scroll<br/><br/><br/><br/><br/></p>
<p>Sticky Sidebar Scroll Jquery Plugin - Stop Sidebar Scroll at End<br/><br/><br/><br/><br/></p>
<b>fixing a sidebar while scrolling, until bottom with jquery</b>

The JQuery Part

$(document).ready(function() {

	var div = $('#header_part');
	var start = $(div).offset().top;

	$.event.add(window, "scroll", function() {
		var p = $(window).scrollTop();
		$(div).css('position',((p)>start) ? 'fixed' : 'static');
		$(div).css('top',((p)>start) ? '0px' : '');


Angular 6 CRUD Operations Application Tutorials

Read :


You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Fixed Sticky Header scrolling in JQuery Example.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.