Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
Line 42: Line 42:
$("ul#topnav li").hover(function() {  
$("ul#topnav li").hover(function() {  
$(this).css({ 'background' : '#1376c9 url(http://2010.igem.org/wiki/images/2/29/Groningen_topnav_active.gif) repeat-x'});  
$(this).css({ 'background' : '#1376c9 url(http://2010.igem.org/wiki/images/2/29/Groningen_topnav_active.gif) repeat-x'});  
-
$(this).find("span").show();  
+
$(this).find("span").animate({opacity: 100}, 0,'linear', function () {$(this).css({display: "block"})});  
} , function() {  
} , function() {  
$(this).css({ 'background' : 'none'}); //on hover out...
$(this).css({ 'background' : 'none'}); //on hover out...

Revision as of 02:04, 27 October 2010