Difference between revisions of "Template:BIMATOX Project"

Line 18: Line 18:
 
   }
 
   }
 
}
 
}
 +
 +
/* Anything that gets to the document
 +
  will hide the dropdown */
 +
$(document).click(function(){
 +
  $("#dropdown").hide();
 +
});
 +
 +
/* Clicks within the dropdown won't make
 +
  it past the dropdown itself */
 +
$("#dropdown").click(function(e){
 +
  e.stopPropagation();
 +
});
  
 
</script>
 
</script>

Revision as of 00:30, 28 October 2017