All Projects → dcooney → flexpanel

dcooney / flexpanel

Licence: other
A responsive panel navigation for mobile and desktop

Programming Languages

CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

#FlexPanel

A responsive panel navigation for mobile and desktop

View FlexPanel examples on the official website

##Updates

####Additional Animation Now Available! You now have the option to 'reveal' or 'slide' the panel. The 'reveal' animation will give a more native app movement to the navigation.

##Features

####Swipe Controls With the help of hammer.js you can swipe to interact with the Flexpanel menu.

####CSS3 Animations There are no jQuery animations here. All animations are controlled by CSS3 properties.

####Fully Responsive From mobile applications to desktop websites, FlexPanel can handle your navigation.

##Usage

####HTML Structure

<div id="container">
	<div class="wrapper">
		// All site content here
	</div>
	<nav class="flexpanel">
		<div class="viewport-wrap">
			<div class="viewport">
				// Your Flexpanel menu would be here
			</div>
		</div>
	</nav>
</div>

####Basic Init Method

$('.flexpanel').flexpanel();

####Advanced Method

$('.flexpanel').flexpanel({
    animation: 'slide', // 'slide' | 'reveal'
    direction: 'right', // 'left' | 'right'
    wrapper: '#wrapper',
    button: '.flex-btn',  
    maxWidth: null // e.g. '768' if maxWidth is set FlexPanel will hide if viewport is larger then value
});

##Changelog

  • 09/02/2014, Updated Hammer JS to version 2
  • 09/02/2014, Updated core js, removing old deprecated functions
  • 03/14/2014, Added reveal animation
  • 03/12/2014, Removing maxWidth parameter
  • 03/1/2014, Added IE8 & 9 support

View the full changelog on the official website

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].