counter customisable
JavaScript Dropdown Menu Demo