var control = $('#control').bendGauge(); control.bendGauge('set', [1,3,5,6]); $('a').click(function (e) { e.preventDefault(); }); $('.stack').click(function () { control.bendGauge('rotate', 3).bendGauge('flash', 2); });
<div id="control"></div> <a href="#" class="stack">rotate and flash</a>
body { background: #333; } a { color:#FFF } #control { width: 200px; height: 200px; }