Skip to content

jimmiw/jquery-floating-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

A small javascript that scrolls a menu with the window, when a user scrolls
down a long page.

To use the script, simply use the following code snippet:

$(‘#my-menu’).floatmenu();

The menu will now be directly below the browser’s inner top.

You can also add extra padding, by giving an option to the plugin:

$(‘#my-menu’).floatmenu({topPadding: 10});

The menu will now be 10pixels below the browser’s inner top at all times.

You can also try out the index.html file, to see a working example (remember to
download this script as well)

About

Floating menus using jQuery

Resources

Stars

Watchers

Forks

Packages

No packages published