Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gustavosouzalima/floatfixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Float Fixed

The Float Fixed is a plugin to make your navigation bar in position fixed on scrolling and give a back to top button.

Demo online

Examples:

Basic:

$('#nav').floatfixed({
    scrollOffsetTopx:100,
});

Set speed:

$('#nav').floatfixed({
    scrollTopSpeed:800,
});

Your own class icon:

$('#nav').floatfixed({
    scrollClass: "icon-chevron-up icon-white",
});

All Options:

 $('#nav').floatfixed({
    topx: '0px',
    offsetTopx:400,
    leftx: 0px,
    scrollTopx:true,
    scrollTopSpeed:800,
    scrollOffsetTopx:200,
    floatFixedx:true,
    scrollClass:"yourClass"
 })

About

A jQuery Plugin to make your navigation bar fixed on scroll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published