Team:IIT Madras/Template:header
From 2011.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
+ | |||
+ | $(".menu_item").hover(function(){ | ||
+ | var name=$(this).attr('id') + "_menu"; | ||
+ | $("#"+name).slidedown(); | ||
+ | }, | ||
+ | function(){ | ||
+ | var name=$(this).attr('id') + "_menu"; | ||
+ | $("#"+name).slidedown(); | ||
+ | }); | ||
}); | }); |
Revision as of 21:21, 2 October 2011