Difference between revisions of "Template:Bielefeld-CeBiTec/Footer"
Line 9: | Line 9: | ||
<script type="text/javascript" src="https://2015.igem.org/Template:Bielefeld-CeBiTec/js/animated-arc-popup.js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2015.igem.org/Template:Bielefeld-CeBiTec/js/animated-arc-popup.js?action=raw&ctype=text/javascript"></script> | ||
− | + | <!-- 3 level menu bar, by any chance? --> | |
+ | <script> | ||
+ | (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'); | ||
+ | }); | ||
+ | }); | ||
+ | })(jQuery);</script> | ||
</html> | </html> |
Revision as of 15:09, 15 September 2015