Difference between revisions of "Template:Bielefeld-CeBiTec/Header"
Line 1: | Line 1: | ||
<html lang="en"> | <html lang="en"> | ||
− | + | ||
− | + | <!-- 3 level menu bar, by any chance? --> | |
− | + | <script type="text/javascript"> | |
− | + | (function($){ | |
− | + | $(document).ready(function(){ | |
− | + | $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { | |
− | + | event.preventDefault(); | |
− | + | event.stopPropagation(); | |
− | + | $(this).parent().siblings().removeClass('open'); | |
− | + | $(this).parent().toggleClass('open'); | |
− | + | }); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}); | }); | ||
}); | }); | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</script> | </script> | ||
Revision as of 15:21, 15 September 2015