1.7.1 • Published 7 years ago

wheelnav v1.7.1

Weekly downloads
393
License
MIT
Repository
github
Last release
7 years ago

wheelnav.js

Join the chat at https://gitter.im/softwaretailoring/wheelnav

Animated wheel navigation JavaScript library based on Raphaël.js (SVG/VML).

It works on all major desktop and mobile browser.

Possible uses:

  • tab navigation
  • pie menu (radial menu, circular menu)
  • sub menu
  • option button
  • checkboxes
  • and more...

For more insight please visit http://wheelnavjs.softwaretailoring.net

Using

Via JavaScript

HTML

<div id="divWheelnav"></div>

JS

var myWheelnav = new wheelnav("divWheelnav");
myWheelnav.slicePathFunction = slicePath().WheelSlice;
myWheelnav.colors = colorpalette.parrot;
myWheelnav.createWheel([icon.smile, icon.star, icon.fork, icon.$]);

Via data attributes

HTML

<div id="divWheelnav" data-wheelnav data-wheelnav-slicepath="WheelSlice" data-wheelnav-colors="#D80351,#F5D908,#00A3EE,#929292">
    <div data-wheelnav-navitemicon="smile">smile</div>
    <div data-wheelnav-navitemicon="star">star</div>
    <div data-wheelnav-navitemicon="fork">fork</div>
    <div data-wheelnav-navitemicon="$">donate</div>
</div>

JS

var myWheelnav = new wheelnav("divWheelnav");

demo image

The index.html of this repo (test page) is available here.

Install

wheelnav.js is available over npm

$ npm install wheelnav

and bower

$ bower install wheelnav

or CDN by jsDelivr

<script type="text/javascript" src="https://cdn.jsdelivr.net/wheelnav/1.7.1/wheelnav.min.js"></script>

Author

Developer: Gábor Berkesi (gabor.berkesi@softwaretailoring.net)

Development environment: Visual Studio Community 2013 with Web Essentials

License

Licensed under MIT. Enjoy the spinning.

1.7.1

7 years ago

1.7.0

8 years ago

1.6.1

9 years ago

1.6.0

9 years ago

1.5.5

9 years ago

1.5.4

9 years ago

1.5.3

9 years ago

1.5.2

9 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.0

9 years ago