Team:Tsinghua/header
From 2011.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("#catlinks").remove(); | $("#catlinks").remove(); | ||
+ | } | ||
+ | $("a").hover(function(){ | ||
+ | try{ | ||
+ | $(this).find('div.div-tip').css("display", "block"); | ||
+ | }catch(e){} | ||
+ | }, function(){ | ||
+ | try{ | ||
+ | $(this).find('div.div-tip').css("display", "none"); | ||
+ | }catch(e){} | ||
}); | }); | ||
+ | ); | ||
$('li[id*="nav-"]').hover(function(){ | $('li[id*="nav-"]').hover(function(){ | ||
var dpad = 0; | var dpad = 0; |
Revision as of 15:46, 16 September 2011