im working on a menu which is a set of 'tabs' sliding from the left. The menu have 3 levels. How can i write one
function instead of making one function for each 'link' which will end up with approx 30 functions.
I made a jsFiddle. Press the yellow bar. then 'food' then 'om'.
Link to jsfiddle