Unfortunately I am having issues with the disappearing of the drop down. I'm currently using toggleClass to add/remove the class on click but I also need this process undone when the menu is blurred ie: clicking anywhere else on the page etc. Here is my jquery code:
$(function() {$('#srt-btn').click(function() {$('ul.toggle-off').toggleClass('toggle-on')});});
<ul id="sort">
<li><a id="srt-btn" class="srt-title">Sort ▾</a>
<ul class="sort-menu toggle-off">
<div class="droid"></div>
<li class="top"><a href="#">Notes</a></li>
<li><a href="#">Photos</a></li>
<li><a href="#">Videos</a></li>
<li class="divider"></li>
<li class="btm"><a href="#">Make List</a></li>
</ul>
</li>