I recently started exploring wheelnav.js for creating a unique navigation system.
The Spreader feature caught my attention, particularly the 2nd example. However, when I implemented it, the text did not rotate as expected.
I followed the code example precisely:
wheel = new wheelnav('wheelDiv'); //stored in a var
wheel.spreaderInTitle = 'menu';
wheel.spreaderOutTitle = 'close';
wheel.spreaderTitleFont = '100 24px Helvetica';
wheel.spreaderInPercent = 0.8;
wheel.spreaderOutPercent = 1.1;
wheel.colors = ['#EDC951'];
wheel.spreaderEnable = true;
wheel.spreaderRadius = 85;
wheel.slicePathFunction = slicePath().DonutSlice;
wheel.clickModeRotate = false;
wheel.createWheel(['text', 'icon', 'percent', 'angle', null, null, null, null, null, null, null, null, null, null, null, null]);
I created a demo with both examples from the documentation site - the first one displays correctly but the second does not: jsfiddle
EDIT: When I increased the size to 500px, the spacing improved slightly, but the text still did not rotate...
I checked for any missing CSS rules, but couldn't find any. Any suggestions on what I might be overlooking?