javascript - Customize a CSS/HTML circular menu -
i found circular menu on web i'm struggling customize since don't know jquery.
i made fiddle : https://jsfiddle.net/zv5dr670/4/
if click big blue button, it's working fine , items toggling , vanishing.
what want make work button other button ( click2 button here).
<button class ="mycbutton">click2</button>
it's working menu9 still here while other items gone.
any advice ?
thanks,
you need use
$('.mycbutton').click(function(e) { toggleoptions($(this).prev('.selector')); });
cause .mycbutton button not parent of .selector need use .prev()
Comments
Post a Comment