Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (22 sloc) 641 Bytes

Radial Menu

An HTML/CSS/JavaScript implementation of the lovely radial menu in the Path app.

See the demo (requires a webkit browser)


Adapts to the number of links you have in your menu.

    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>

Configure the radius and the degrees to be used for the arc.

var m = new Menu(document.querySelector('nav'), {
  radius: 130,
  degrees: 90,
  offset: -90