As you guys can see, I have a drop down menu.
I have a lot of columns, each one has an option to open the menu.
$(\".optionCont\").live(\"click\", fu
$(".optionCont").click(function(e){
$(".dropMenuCont").slideUp();
if($(this).next().css("display") == "none"){
$(this).next().slideDown();
}else{
$(this).next().slideUp();
}
e.preventDefault();
e.stopPropagation();
return false;
});
$(document).click(function() {
$(".dropMenuCont").slideUp();
});
Here is the JSFiddle