Template:INSA-Lyon/menu2

From 2010.igem.org

(Difference between revisions)
m
m
Line 34: Line 34:
}
}
ul#topnav li:hover {  
ul#topnav li:hover {  
-
background: #f200d0 url("https://static.igem.org/mediawiki/2010/d/d9/Team_INSA-Lyon_bouton_fushia.gif") repeat-x;
+
background: #1275c9 url("https://static.igem.org/mediawiki/2010/0/08/Topnav_a.gif") repeat-x;  /* #f200d0 url("https://static.igem.org/mediawiki/2010/d/d9/Team_INSA-Lyon_bouton_fushia.gif") */
}
}
Line 46: Line 46:
display: none;
display: none;
width:965px;
width:965px;
-
background: #f200d0 /* #1275c9 */;
+
background: #1275c9 /* #f200d0 */;
color: #fff;
color: #fff;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomright: 10px;
Line 70: Line 70:
$("ul#topnav li").hover(function() { //Hover over event on list item
$("ul#topnav li").hover(function() { //Hover over event on list item
-
$(this).css({ 'background' : '#f200d0 url(https://static.igem.org/mediawiki/2010/d/d9/Team_INSA-Lyon_bouton_fushia.gif) repeat-x'}); //Add background color and image on hovered list item
+
$(this).css({ 'background' : '#1275c9 url("https://static.igem.org/mediawiki/2010/0/08/Topnav_a.gif")repeat-x'}); //Add background color and image on hovered list item #f200d0 url(https://static.igem.org/mediawiki/2010/d/d9/Team_INSA-Lyon_bouton_fushia.gif)
$(this).find("span").show(); //Show the subnav
$(this).find("span").show(); //Show the subnav
} , function() { //on hover out...
} , function() { //on hover out...

Revision as of 14:17, 26 August 2010