Team:Tsinghua/header

From 2011.igem.org

(Difference between revisions)
Line 38: Line 38:
$("#catlinks").remove();
$("#catlinks").remove();
$("a").hover(function(){
$("a").hover(function(){
-
$(this).find('div.div-tip').css("display", "block");
+
    try{
 +
        $(this).find('div.div-tip').css("display", "block");
 +
    }catch(e){}
}, function(){
}, function(){
-
$(this).find('div.div-tip').css("display", "none");
+
    try{
 +
        $(this).find('div.div-tip').css("display", "none");
 +
    }catch(e){}
});
});
$('li[id*="nav-"]').hover(function(){
$('li[id*="nav-"]').hover(function(){

Revision as of 15:44, 16 September 2011