Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

benjaminhorner/facebook-slider-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facebookSliderMenu.js

A jQuery plugin that enables you to easily create a Facebook-like slide-out menu.

OPTIONS :

  • Accepted parametres :
  • sliderWidth: THE WIDTH OF YOUR SLIDER WHEN IT IS OPEN => accepted values : 0-100 / default : 15,
  • snapZoneWidth: THE WIDTH OF THE ZONE INSIDE WICH THE SLIDER SNAPS INTO PLACE => accepted values : 0-100 / default : 25,
  • direction: WHETHER THE SLIDER SLIDES ONLY LEFT OR BOTH WAYS, TO REVEAL A MENU AND A SUBMENU => accepted values : 'left'/'both' (IN BETA) / default : 'left',
  • animationSpeed: SET THE SPEED OF THE SLDER ANIMATION => accepted values : 'slow', duration in milliseconds / default : 'fast',
  • animationEasing: SET THE ANIMATON TYPE => accepted values : any of the animation types listed in easing.js / default : 'swing',
  • open: WHETHER THE SLIDER SHOULD BE OPEN OR CLOSED AT START => accepted values : true/false / default : true

Usage

$("#fbs-main-content-container").facebookSliderMenu({[params]}});

About

Slide-out menu for web apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published