Team:Korea U Seoul/template/banner

From 2013.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 214: Line 214:
#nav .on a,  
#nav .on a,  
#nav li li a {background:#d8d3cd; color:#8b0029;}
#nav li li a {background:#d8d3cd; color:#8b0029;}
 +
#nav > ul > li > ul > li :hover{
 +
    background-color: #8B0029;
 +
    color: #FFFFFF;
 +
    font-weight: bold;
 +
}
/* contents */
/* contents */
#content {
#content {
Line 262: Line 267:
           </li>
           </li>
           <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Outreach">Outreach</a>
           <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Outreach">Outreach</a>
-
          </li>
 
-
          <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Collaboration">Collaboration</a>
 
           </li>
           </li>
           <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Safety">Safety Questions</a>
           <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Safety">Safety Questions</a>
Line 276: Line 279:
</div>
</div>
<script>
<script>
-
$('#nav li').bind('mouseenter keyup', function() {
+
$('#nav li').bind('mouseenter keyup mouseleave', function() {
$(this) .addClass('on').siblings().removeClass();
$(this) .addClass('on').siblings().removeClass();
 +
 +
$(this).unbind('mouseenter keyup mouseleave', function(){
 +
   
 +
})
});
});
</script>
</script>
</body>
</body>
</html>
</html>

Latest revision as of 22:24, 27 September 2013