Team:ETH Zurich/Templates
From 2013.igem.org
(Difference between revisions)
Line 98: | Line 98: | ||
/*when mouse on menu*/ | /*when mouse on menu*/ | ||
- | #eth_nav ul li a:hover | + | #eth_nav ul li a:hover, #eth_nav .nav_active |
{ background: rgb(241,243,245); | { background: rgb(241,243,245); | ||
color:rgb(131,186,243); | color:rgb(131,186,243); | ||
Line 410: | Line 410: | ||
$('#eth_nav > ul > li').bind('mouseover', eth_nav_open); | $('#eth_nav > ul > li').bind('mouseover', eth_nav_open); | ||
$('#eth_nav > ul > li').bind('mouseout', eth_nav_timer); | $('#eth_nav > ul > li').bind('mouseout', eth_nav_timer); | ||
+ | |||
+ | $('#eth_nav > ul > li > .selflink').parent().parent().parent().addClass('nav_active'); | ||
// Enable/disable login/wiki | // Enable/disable login/wiki |
Revision as of 15:48, 12 September 2013