Template:INSA-Lyon/menu2

From 2010.igem.org

(Difference between revisions)
m
Line 33: Line 33:
       text-decoration: none;
       text-decoration: none;
}
}
-
ul#topnav li:hover { background: #f200d0 /* #1275c9 */ url(https://static.igem.org/mediawiki/2010/d/d9/Team_INSA-Lyon_bouton_fushia.gif) repeat-x; }
+
ul#topnav li:hover {  
 +
background: #f200d0 url("https://static.igem.org/mediawiki/2010/d/d9/Team_INSA-Lyon_bouton_fushia.gif") repeat-x;  
 +
}
-
/*https://static.igem.org/mediawiki/2010/0/08/Topnav_a.gif*/
+
/*https://static.igem.org/mediawiki/2010/0/08/Topnav_a.gif*/  /* #1275c9 */
ul#topnav li span {
ul#topnav li span {
Line 68: 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' : '#1376c9 url(https://static.igem.org/mediawiki/2010/0/08/Topnav_a.gif) repeat-x'}); //Add background color and image on hovered 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).find("span").show(); //Show the subnav
$(this).find("span").show(); //Show the subnav
} , function() { //on hover out...
} , function() { //on hover out...

Revision as of 13:17, 26 August 2010