Template:Team:TU-Munich/TUM13 Script
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <script src="http://code.jquery.com/jquery-1.10. | + | <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> |
<script type="text/javascript">/* <![CDATA[ */ | <script type="text/javascript">/* <![CDATA[ */ | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | // | + | // put the footer in the right place |
$("#footer-box").prepend($("#social-footer")); | $("#footer-box").prepend($("#social-footer")); | ||
+ | |||
+ | // Animate the submenus | ||
+ | /* | ||
+ | $("#menu ul ul").slideUp(); | ||
+ | |||
+ | $("#menu > ul > li, #menu > ul > li > a").mouseenter(function(event){ | ||
+ | $(event.target).children("ul").slideDown(); | ||
+ | }); | ||
+ | |||
+ | $("#menu > ul > li, #menu > ul > li > a").mouseleave(function(event){ | ||
+ | $(event.target).children("ul").slideUp(); | ||
+ | }); | ||
+ | */ | ||
}); | }); |
Revision as of 15:34, 23 August 2013