Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

michael-riha/jquery.flypie-menu.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

FlyPie-Menu.js

Try this pie-menu with flyout elements in your projects, it's easy to use and configure.

Usage

Just link jquery.flypie-menu.js on your html document and Use html structure like bellow:

<aside>
	<ul>
		<li>Item</li>
		<li>Item</li>
		<li>Item</li>
		<li>Item</li>
		<li>Item</li>
		<li id="flypie">Toggle</li>
	</ul> 
</aside>

Javascript:

$('#flypie').flyPieMenu();

Settings

Default settings:

{
	'degreeStart':	0,					//the position of your first button in degree
	'maxItems':		10,					//Space reserved for a certain amount of Items
	'itemRad':		25,					//radius of the item objects in px
	'orbitRad':		100,				//radius from button middle to the items in px
	'buttonRad':	40,					//radius of the button object in px
	'orientation':	'center',			//placement of the button inside its box.
	'popup':		true,				//decide how links inside the items should be opened
	'mode':			'mouseover',		//on which event you want to trigger FlyPie-Menu
	'direction':	'counterclockwise'	//items go counter- or clockwise around the button
}

Possible values:

'degreeStart':	0-359 
'maxItems':		1+ 
'itemRad':		1+ 
'orbitRad':		1+ 
'buttonRad':	1+ 
'orientation':	'top-left', 'top-center', 'top-right', 'left', 'center', 'right', 'bottom-left', 'bottom-center', 'bottom-right'
'popup':		true, false
'mode':			'mouseover', 'click', 'manual'
'direction':	'counterclockwise', 'clockwise'

Examples & Demo.

Releases

No releases published

Packages

No packages published