Difference between revisions of "Template:AUC TURKEY"
Line 81: | Line 81: | ||
background-color:lightgray; | background-color:lightgray; | ||
} | } | ||
− | #submenu { | + | #submenu a:hover { |
− | + | text-decoration:none; | |
+ | } | ||
+ | #submenu ul { | ||
+ | list-style-type: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | display:none; | ||
+ | } | ||
+ | #submenu li { | ||
+ | display: inline-block; | ||
+ | vertical-align:top; | ||
+ | } | ||
+ | #submenu li:hover { | ||
+ | background-color:lightgray; | ||
} | } | ||
#projectname { | #projectname { | ||
Line 90: | Line 103: | ||
} | } | ||
</style> | </style> | ||
+ | <script> | ||
+ | $(function() { | ||
+ | $("#menu li").hover( | ||
+ | function(){ | ||
+ | $("sub"+).slideDown(200); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).children('.sub-menu').slideUp(200); | ||
+ | } | ||
+ | ); | ||
+ | }); | ||
</script> | </script> | ||
<div id="header"><a href="https://2015.igem.org/Team:AUC_TURKEY"> | <div id="header"><a href="https://2015.igem.org/Team:AUC_TURKEY"> |
Revision as of 12:48, 25 June 2015