Skip to content
Snippets Groups Projects
Commit cc819d26 authored by unknown's avatar unknown
Browse files

animate navbar dropdown

parent d97016fb
No related merge requests found
$(function() {
$('.dropdown-toggle').on('click', function(event) {
$('.dropdown-menu').slideToggle(50);
event.stopPropagation();
});
$('.dropdown-menu').on('click', function(event) {
event.stopPropagation();
});
$(window).on('click', function() {
$('.dropdown-menu').slideUp(50);
});
});
\ No newline at end of file
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<link rel="stylesheet" type="text/css" href="{% sass_src 'shared.scss' %}"/> <link rel="stylesheet" type="text/css" href="{% sass_src 'shared.scss' %}"/>
<link rel="stylesheet" type="text/css" href="{% sass_src 'base.scss' %}"/> <link rel="stylesheet" type="text/css" href="{% sass_src 'base.scss' %}"/>
<link rel="stylesheet" type="text/css" href="{% static 'memberdb.css' %}"/> <link rel="stylesheet" type="text/css" href="{% static 'memberdb.css' %}"/>
<script src="{% static 'base.js' %}"></script>
<script src="https://unpkg.com/feather-icons"></script> <script src="https://unpkg.com/feather-icons"></script>
{% block prestyle %}{% endblock %} {% block prestyle %}{% endblock %}
{% block extrahead %}{% endblock %} {% block extrahead %}{% endblock %}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment