Team:Hong Kong HKU/templates/menu
From 2013.igem.org
(Difference between revisions)
(Created page with "<html> <head> <style type="text/css"> - →****parent menu****: #nav li a { display:block; padding:8px 5px 0 5px; font-weight:700; height:20px; text-decoration:none; color:#00...") |
|||
Line 80: | Line 80: | ||
</script> | </script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function () { | ||
+ | $('#nav li').hover( | ||
+ | function () { | ||
+ | //show its submenu | ||
+ | $('ul', this).slideDown(350); | ||
+ | }, | ||
+ | function () { | ||
+ | //hide its submenu | ||
+ | $('ul', this).slideUp(350); | ||
+ | } | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
<input type=hidden name=arav value="5*#*#*3*#*#*2*#*#*1*#*#*3*#*#*2"><ul id='nav'> | <input type=hidden name=arav value="5*#*#*3*#*#*2*#*#*1*#*#*3*#*#*2"><ul id='nav'> | ||
<li> <a href='#'>E. CAPSID</a> | <li> <a href='#'>E. CAPSID</a> |
Revision as of 16:20, 28 August 2013