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(){ | + | $("#a-tip").hover(function(){ |
try{ | try{ | ||
- | $ | + | $('div.div-tip').css("display", "block"); |
}catch(e){} | }catch(e){} | ||
}, function(){ | }, function(){ | ||
try{ | try{ | ||
- | $ | + | $('div.div-tip').css("display", "none"); |
}catch(e){} | }catch(e){} | ||
}); | }); |
Revision as of 15:54, 16 September 2011