Skip to content

gaurav10036/stick-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stick-it

add custom animated sticky header to your site

Usage

  • Include jQuery & jquery.stick-it.js
  • Call StickIt function
<script src="jquery.js"></script>
<script src="jquery.sticky.js"></script>
<script type="text/javascript" >
$(document).ready( function() {
    $('#header').stickIt({ 
		animation	: true,
		duration	: 400,
		opacity		: 0.5,
	});
});
</script>

Default Options

backGround	 : 'transparent',
position	 : 'fixed',
width		 : '100%',
zIndex		 : '1',
animation	 : false,
opacity	 	 : '1',
duration	 : '200'

About

add custom animated sticky header to your site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published