Team:SDU-Denmark/menu

From 2009.igem.org

(Difference between revisions)
Line 34: Line 34:
position: relative;
position: relative;
font-size: 1.2em;
font-size: 1.2em;
-
background: url(topnav_stretch.gif) repeat-x;
+
background: url(https://static.igem.org/mediawiki/2009/1/11/SDU-Denmark-topnav_stretch.gif) repeat-x;
}
}
ul#topnav li {
ul#topnav li {
Line 47: Line 47:
text-decoration: none;
text-decoration: none;
}
}
-
ul#topnav li:hover { background: #1376c9 url(topnav_active.gif) repeat-x; }
+
ul#topnav li:hover { background: #1376c9 url(https://static.igem.org/mediawiki/2009/a/a7/SDU-Denmark-topnav_active.gif) repeat-x; }
ul#topnav li span {
ul#topnav li span {
float: left;
float: left;
Line 74: Line 74:
$("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(topnav_active.gif) repeat-x'}); //Add background color + image on hovered list item
+
$(this).css({ 'background' : '#1376c9 url(https://static.igem.org/mediawiki/2009/a/a7/SDU-Denmark-topnav_active.gif) repeat-x'}); //Add background color + 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 18:56, 30 September 2009