Team:Valencia/navbar

From 2010.igem.org

(Difference between revisions)
Line 5: Line 5:
$(document).ready(function() {
$(document).ready(function() {
$("ul#topnav li").hover(function() {  
$("ul#topnav li").hover(function() {  
-
$(this).css({ 'background' : 'transparent url(https://static.igem.org/mediawiki/2010/2/29/Groningen_topnav_active.gif) repeat-x'});  
+
$(this).css({ 'background' : 'transparent url(https://static.igem.org/mediawiki/2010/0/03/Valencia_navbar_active.gif) repeat-x'});  
$(this).find("span").show();  
$(this).find("span").show();  
} , function() { //on hover out...
} , function() { //on hover out...
Line 27: Line 27:
list-style: none;
list-style: none;
position: relative;
position: relative;
-
background: url("https://static.igem.org/mediawiki/2010/8/80/Groningen_topnav_stretch.gif") repeat-x;
+
background: url("https://static.igem.org/mediawiki/2010/d/dd/Valencia_navbar_stretch.gif") repeat-x;
}
}
ul#topnav li {
ul#topnav li {
Line 43: Line 43:
       text-decoration: underline;
       text-decoration: underline;
}
}
-
ul#topnav li:hover { background: #b5cc86 url("https://static.igem.org/mediawiki/2010/2/29/Groningen_topnav_active.gif") repeat-x; }
+
ul#topnav li:hover { background: #b5cc86 url("https://static.igem.org/mediawiki/2010/0/03/Valencia_navbar_active.gif") repeat-x; }
ul#topnav li span {
ul#topnav li span {
float: left;
float: left;

Revision as of 12:52, 23 October 2010